com.espertech.esper.core.context.mgr
Interface ContextManagementService

All Known Implementing Classes:
ContextManagementServiceImpl

public interface ContextManagementService


Method Summary
 void addContextSpec(EPServicesContext servicesContext, AgentInstanceContext agentInstanceContext, CreateContextDesc contextDesc, boolean isRecoveringResilient, EventType statementResultEventType)
           
 void addStatement(java.lang.String contextName, ContextControllerStatementBase statement, boolean isRecoveringResilient)
           
 void destroyedContext(java.lang.String contextName)
           
 void destroyedStatement(java.lang.String contextName, java.lang.String statementName, int statementId)
           
 int getContextCount()
           
 ContextDescriptor getContextDescriptor(java.lang.String contextName)
           
 ContextManager getContextManager(java.lang.String contextName)
           
 java.util.Map<java.lang.String,ContextManagerEntry> getContexts()
           
 void stoppedStatement(java.lang.String contextName, java.lang.String statementName, int statementId, java.lang.String epl, ExceptionHandlingService exceptionHandlingService)
           
 

Method Detail

addContextSpec

void addContextSpec(EPServicesContext servicesContext,
                    AgentInstanceContext agentInstanceContext,
                    CreateContextDesc contextDesc,
                    boolean isRecoveringResilient,
                    EventType statementResultEventType)
                    throws ExprValidationException
Throws:
ExprValidationException

getContextCount

int getContextCount()

getContextDescriptor

ContextDescriptor getContextDescriptor(java.lang.String contextName)

addStatement

void addStatement(java.lang.String contextName,
                  ContextControllerStatementBase statement,
                  boolean isRecoveringResilient)
                  throws ExprValidationException
Throws:
ExprValidationException

stoppedStatement

void stoppedStatement(java.lang.String contextName,
                      java.lang.String statementName,
                      int statementId,
                      java.lang.String epl,
                      ExceptionHandlingService exceptionHandlingService)

destroyedStatement

void destroyedStatement(java.lang.String contextName,
                        java.lang.String statementName,
                        int statementId)

destroyedContext

void destroyedContext(java.lang.String contextName)

getContexts

java.util.Map<java.lang.String,ContextManagerEntry> getContexts()

getContextManager

ContextManager getContextManager(java.lang.String contextName)

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com