|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPAdministratorIsolated
Administrative interfae
Method Summary | |
---|---|
void |
addStatement(EPStatement statement)
Add a statement to the isolated service. |
void |
addStatement(EPStatement[] statements)
Add statements to the isolated service. |
EPStatement |
createEPL(java.lang.String eplStatement,
java.lang.String statementName,
java.lang.Object userObject)
Create and starts an EPL statement. |
java.lang.String[] |
getStatementNames()
Returns the statement names of all started and stopped statements. |
void |
removeStatement(EPStatement statement)
Remove a statement from the isolated service. |
void |
removeStatement(EPStatement[] statements)
Remove statements from the isolated service. |
Method Detail |
---|
EPStatement createEPL(java.lang.String eplStatement, java.lang.String statementName, java.lang.Object userObject) throws EPException
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.
eplStatement
- is the query language statementuserObject
- is the application-defined user object, or null if none providedstatementName
- is the statement name or null if not provided or provided via annotation instead
EPException
- when the expression was not validjava.lang.String[] getStatementNames()
This excludes the name of destroyed statements.
void addStatement(EPStatement statement) throws EPServiceIsolationException
statement
- to add
EPServiceIsolationException
- if the statement cannot be isolated, typically because it already is isolatedvoid removeStatement(EPStatement statement) throws EPServiceIsolationException
statement
- to remove
EPServiceIsolationException
- if the statement was not isolated hereinvoid addStatement(EPStatement[] statements) throws EPServiceIsolationException
statements
- to add
EPServiceIsolationException
- if the statement cannot be isolated, typically because it already is isolatedvoid removeStatement(EPStatement[] statements) throws EPServiceIsolationException
statements
- to remove
EPServiceIsolationException
- if the statement was not isolated herein
|
© 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 |