|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.EPAdministratorIsolatedImpl
public class EPAdministratorIsolatedImpl
Implementation for the admin interface.
Constructor Summary | |
---|---|
EPAdministratorIsolatedImpl(java.lang.String isolatedServiceName,
EPIsolationUnitServices services,
EPServicesContext unisolatedServices,
EPRuntimeIsolatedImpl isolatedRuntime)
Ctor. |
Method Summary | |
---|---|
void |
addStatement(EPStatement stmt)
Add a statement to the isolated service. |
void |
addStatement(EPStatement[] stmt)
Add statements to the isolated service. |
void |
addStatement(java.lang.String name)
Add a statement name to the list of statements held by the isolated service provider. |
EPStatement |
createEPL(java.lang.String eplStatement,
java.lang.String statementName,
java.lang.Object userObject)
Create and starts an EPL statement. |
EPStatement |
createEPLStatementId(java.lang.String eplStatement,
java.lang.String statementName,
java.lang.Object userObject,
java.lang.String statementId)
|
java.lang.String[] |
getStatementNames()
Returns the statement names of all started and stopped statements. |
void |
removeAllStatements()
Remove all statements from isolated services, such as upon destroy. |
void |
removeStatement(EPStatement stmt)
Remove a statement from the isolated service. |
void |
removeStatement(EPStatement[] stmt)
Remove statements from the isolated service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPAdministratorIsolatedImpl(java.lang.String isolatedServiceName, EPIsolationUnitServices services, EPServicesContext unisolatedServices, EPRuntimeIsolatedImpl isolatedRuntime)
isolatedServiceName
- name of the isolated serviceservices
- isolated servicesunisolatedServices
- engine servicesisolatedRuntime
- the runtime for this isolated serviceMethod Detail |
---|
public EPStatement createEPL(java.lang.String eplStatement, java.lang.String statementName, java.lang.Object userObject) throws EPException
EPAdministratorIsolated
The statement name is optimally a unique name. If a statement of the same name has already been created, the engine assigns a postfix to create a unique statement name.
Accepts an application defined user data object associated with the statement. The user object is a single, unnamed field that is stored with every statement. Applications may put arbitrary objects in this field or a null value.
createEPL
in interface EPAdministratorIsolated
eplStatement
- is the query language statementstatementName
- is the statement name or null if not provided or provided via annotation insteaduserObject
- is the application-defined user object, or null if none provided
EPException
- when the expression was not validpublic EPStatement createEPLStatementId(java.lang.String eplStatement, java.lang.String statementName, java.lang.Object userObject, java.lang.String statementId) throws EPException
createEPLStatementId
in interface EPAdministratorIsolatedSPI
EPException
public java.lang.String[] getStatementNames()
EPAdministratorIsolated
This excludes the name of destroyed statements.
getStatementNames
in interface EPAdministratorIsolated
public void addStatement(java.lang.String name)
EPAdministratorIsolatedSPI
addStatement
in interface EPAdministratorIsolatedSPI
name
- to addpublic void addStatement(EPStatement stmt)
EPAdministratorIsolated
addStatement
in interface EPAdministratorIsolated
stmt
- to addpublic void addStatement(EPStatement[] stmt)
EPAdministratorIsolated
addStatement
in interface EPAdministratorIsolated
stmt
- to addpublic void removeStatement(EPStatement stmt)
EPAdministratorIsolated
removeStatement
in interface EPAdministratorIsolated
stmt
- to removepublic void removeStatement(EPStatement[] stmt)
EPAdministratorIsolated
removeStatement
in interface EPAdministratorIsolated
stmt
- to removepublic void removeAllStatements()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |