|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.StatementIsolationServiceImpl
public class StatementIsolationServiceImpl
Service to maintain currently active isoalted service providers for an engine.
Constructor Summary | |
---|---|
StatementIsolationServiceImpl()
Ctor. |
Method Summary | |
---|---|
void |
beginIsolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements are moved to isolation. |
void |
beginUnisolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements are moved out of isolation. |
void |
commitIsolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements are have moved to isolation. |
void |
commitUnisolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements have been moved out of isolation. |
void |
destroy()
Destroys the servce. |
EPServiceProviderIsolated |
getIsolationUnit(java.lang.String name,
java.lang.Integer optionalUnitId)
Returns an isolated service by names, or allocates a new one if none found. |
java.lang.String[] |
getIsolationUnitNames()
Returns all names or currently known isolation services. |
void |
newStatement(java.lang.String stmtId,
java.lang.String stmtName,
EPIsolationUnitServices isolatedServices)
Indicates a new statement created in an isolated service. |
void |
rollbackIsolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements are have not moved to isolation. |
void |
rollbackUnisolatingStatements(java.lang.String name,
int unitId,
EPStatement[] stmt)
Indicates statements are not moved out of isolation. |
void |
setEpServicesContext(EPServicesContext epServicesContext)
Set the engine service context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatementIsolationServiceImpl()
Method Detail |
---|
public void setEpServicesContext(EPServicesContext epServicesContext)
epServicesContext
- services contextpublic EPServiceProviderIsolated getIsolationUnit(java.lang.String name, java.lang.Integer optionalUnitId)
StatementIsolationService
getIsolationUnit
in interface StatementIsolationService
name
- isolated serviceoptionalUnitId
- the unique id assigned to the isolation unit
public void destroy()
StatementIsolationService
destroy
in interface StatementIsolationService
public java.lang.String[] getIsolationUnitNames()
StatementIsolationService
getIsolationUnitNames
in interface StatementIsolationService
public void beginIsolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
beginIsolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void commitIsolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
commitIsolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void rollbackIsolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
rollbackIsolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void beginUnisolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
beginUnisolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void commitUnisolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
commitUnisolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void rollbackUnisolatingStatements(java.lang.String name, int unitId, EPStatement[] stmt)
StatementIsolationService
rollbackUnisolatingStatements
in interface StatementIsolationService
name
- isolated service provider name.unitId
- isolated service provider number.stmt
- statements moved.public void newStatement(java.lang.String stmtId, java.lang.String stmtName, EPIsolationUnitServices isolatedServices)
StatementIsolationService
newStatement
in interface StatementIsolationService
stmtId
- statement idstmtName
- statement nameisolatedServices
- isolated services
|
© 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 |