com.espertech.esper.core.context.util
Class AgentInstanceContext

java.lang.Object
  extended by com.espertech.esper.core.context.util.AgentInstanceContext
All Implemented Interfaces:
ExprEvaluatorContext

public class AgentInstanceContext
extends java.lang.Object
implements ExprEvaluatorContext


Constructor Summary
AgentInstanceContext(StatementContext statementContext, EPStatementAgentInstanceHandle epStatementAgentInstanceHandle, int agentInstanceId, AgentInstanceFilterProxy agentInstanceFilterProxy, MappedEventBean agentInstanceProperties, AgentInstanceScriptContext agentInstanceScriptContext)
           
 
Method Summary
 void addTerminationCallback(StopCallback callback)
           
 AgentInstanceFilterProxy getAgentInstanceFilterProxy()
           
 int getAgentInstanceId()
           
 StatementAgentInstanceLock getAgentInstanceLock()
           
 AgentInstanceScriptContext getAgentInstanceScriptContext()
           
 MappedEventBean getContextProperties()
           
 java.lang.String getEngineURI()
           
 EPStatementAgentInstanceHandle getEpStatementAgentInstanceHandle()
           
 ExpressionResultCacheService getExpressionResultCacheService()
           
 StatementContext getStatementContext()
           
 java.lang.String getStatementId()
           
 java.lang.String getStatementName()
           
 StatementType getStatementType()
           
 java.lang.Object getStatementUserObject()
           
 TableExprEvaluatorContext getTableExprEvaluatorContext()
           
 java.util.Collection<StopCallback> getTerminationCallbackRO()
           
 TimeProvider getTimeProvider()
          Returns the time provider.
 void removeTerminationCallback(StopCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentInstanceContext

public AgentInstanceContext(StatementContext statementContext,
                            EPStatementAgentInstanceHandle epStatementAgentInstanceHandle,
                            int agentInstanceId,
                            AgentInstanceFilterProxy agentInstanceFilterProxy,
                            MappedEventBean agentInstanceProperties,
                            AgentInstanceScriptContext agentInstanceScriptContext)
Method Detail

getAgentInstanceFilterProxy

public AgentInstanceFilterProxy getAgentInstanceFilterProxy()

getAgentInstanceScriptContext

public AgentInstanceScriptContext getAgentInstanceScriptContext()
Specified by:
getAgentInstanceScriptContext in interface ExprEvaluatorContext

getTimeProvider

public TimeProvider getTimeProvider()
Description copied from interface: ExprEvaluatorContext
Returns the time provider.

Specified by:
getTimeProvider in interface ExprEvaluatorContext
Returns:
time provider

getExpressionResultCacheService

public ExpressionResultCacheService getExpressionResultCacheService()
Specified by:
getExpressionResultCacheService in interface ExprEvaluatorContext

getAgentInstanceId

public int getAgentInstanceId()
Specified by:
getAgentInstanceId in interface ExprEvaluatorContext

getStatementContext

public StatementContext getStatementContext()

getEpStatementAgentInstanceHandle

public EPStatementAgentInstanceHandle getEpStatementAgentInstanceHandle()

getContextProperties

public MappedEventBean getContextProperties()
Specified by:
getContextProperties in interface ExprEvaluatorContext

getTableExprEvaluatorContext

public TableExprEvaluatorContext getTableExprEvaluatorContext()
Specified by:
getTableExprEvaluatorContext in interface ExprEvaluatorContext

getTerminationCallbackRO

public java.util.Collection<StopCallback> getTerminationCallbackRO()

addTerminationCallback

public void addTerminationCallback(StopCallback callback)

removeTerminationCallback

public void removeTerminationCallback(StopCallback callback)

getStatementName

public java.lang.String getStatementName()
Specified by:
getStatementName in interface ExprEvaluatorContext

getEngineURI

public java.lang.String getEngineURI()
Specified by:
getEngineURI in interface ExprEvaluatorContext

getStatementId

public java.lang.String getStatementId()
Specified by:
getStatementId in interface ExprEvaluatorContext

getStatementType

public StatementType getStatementType()
Specified by:
getStatementType in interface ExprEvaluatorContext

getAgentInstanceLock

public StatementAgentInstanceLock getAgentInstanceLock()
Specified by:
getAgentInstanceLock in interface ExprEvaluatorContext

getStatementUserObject

public java.lang.Object getStatementUserObject()
Specified by:
getStatementUserObject in interface ExprEvaluatorContext

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