Class AgentInstanceContext
java.lang.Object
com.espertech.esper.common.internal.context.util.AgentInstanceContext
- All Implemented Interfaces:
ExprEvaluatorContext
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAgentInstanceContext
(StatementContext statementContext, EPStatementAgentInstanceHandle epStatementAgentInstanceHandle, AgentInstanceFilterProxy agentInstanceFilterProxy, MappedEventBean contextProperties, AuditProvider auditProvider, InstrumentationCommon instrumentationProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a stop-callback.int
long
int
boolean
void
void
setFilterReboolConstant
(Object value)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
AgentInstanceContext
public AgentInstanceContext(StatementContext statementContext, EPStatementAgentInstanceHandle epStatementAgentInstanceHandle, AgentInstanceFilterProxy agentInstanceFilterProxy, MappedEventBean contextProperties, AuditProvider auditProvider, InstrumentationCommon instrumentationProvider)
-
-
Method Details
-
getAgentInstanceFilterProxy
-
getAnnotations
- Specified by:
getAnnotations
in interfaceExprEvaluatorContext
-
getContextManagementService
-
getContextServiceFactory
-
getContextProperties
- Specified by:
getContextProperties
in interfaceExprEvaluatorContext
-
getRuntimeURI
- Specified by:
getRuntimeURI
in interfaceExprEvaluatorContext
-
getAgentInstanceId
public int getAgentInstanceId()- Specified by:
getAgentInstanceId
in interfaceExprEvaluatorContext
-
getAgentInstanceLock
- Specified by:
getAgentInstanceLock
in interfaceExprEvaluatorContext
-
getEpStatementAgentInstanceHandle
-
getRuntimeExtensionServicesContext
-
getEventBeanTypedEventFactory
- Specified by:
getEventBeanTypedEventFactory
in interfaceExprEvaluatorContext
-
getRuntimeSettingsService
-
getClasspathImportServiceRuntime
-
getEventBeanService
- Specified by:
getEventBeanService
in interfaceExprEvaluatorContext
-
getFilterService
-
getInternalEventRouter
-
getInternalEventRouteDest
-
getSchedulingService
-
getScheduleBucket
-
getStatementName
- Specified by:
getStatementName
in interfaceExprEvaluatorContext
-
getUserObjectCompileTime
- Specified by:
getUserObjectCompileTime
in interfaceExprEvaluatorContext
-
getStatementId
public int getStatementId()- Specified by:
getStatementId
in interfaceExprEvaluatorContext
-
getStatementContextCPPair
-
getStatementContext
-
getStatementResultService
-
getTimeProvider
- Specified by:
getTimeProvider
in interfaceExprEvaluatorContext
-
getViewFactoryService
-
getResultSetProcessorHelperFactory
-
getDeploymentId
- Specified by:
getDeploymentId
in interfaceExprEvaluatorContext
-
getNamedWindowManagementService
-
getStatementResourceService
-
getExpressionResultCacheService
- Specified by:
getExpressionResultCacheService
in interfaceExprEvaluatorContext
-
getExceptionHandlingService
- Specified by:
getExceptionHandlingService
in interfaceExprEvaluatorContext
-
getVariableManagementService
- Specified by:
getVariableManagementService
in interfaceExprEvaluatorContext
-
getStatementContextFilterEvalEnv
-
getTableExprEvaluatorContext
- Specified by:
getTableExprEvaluatorContext
in interfaceExprEvaluatorContext
-
getTableManagementService
-
getAllocateAgentInstanceScriptContext
- Specified by:
getAllocateAgentInstanceScriptContext
in interfaceExprEvaluatorContext
-
getEventTypeResolvingBeanFactory
-
getEventTypeAvroHandler
-
getRowRecogStateRepoFactory
-
getEventTableIndexService
-
getHistoricalDataCacheFactory
-
getDatabaseConfigService
-
getEPRuntimeEventProcessWrapped
-
getEPRuntimeSendEvent
-
getEPRuntimeRenderEvent
-
getDataFlowFilterServiceAdapter
-
getRuntime
-
getMetricReportingService
-
getAuditProvider
- Specified by:
getAuditProvider
in interfaceExprEvaluatorContext
-
getInstrumentationProvider
- Specified by:
getInstrumentationProvider
in interfaceExprEvaluatorContext
-
getTerminationCallbackRO
-
addTerminationCallback
Add a stop-callback. Use to add a stop-callback other than already registered. This is generally not required by views that implement AgentInstanceStopCallback as they gets stopped as part of normal processing.- Parameters:
callback
- to add
-
removeTerminationCallback
-
getRuntimeEnvContext
-
getFilterVersionAfterAllocation
public long getFilterVersionAfterAllocation() -
getModuleName
- Specified by:
getModuleName
in interfaceExprEvaluatorContext
-
getContextName
- Specified by:
getContextName
in interfaceExprEvaluatorContext
-
getEPLWhenAvailable
- Specified by:
getEPLWhenAvailable
in interfaceExprEvaluatorContext
-
getTimeZone
- Specified by:
getTimeZone
in interfaceExprEvaluatorContext
-
getTimeAbacus
- Specified by:
getTimeAbacus
in interfaceExprEvaluatorContext
-
isWritesToTables
public boolean isWritesToTables()- Specified by:
isWritesToTables
in interfaceExprEvaluatorContext
-
getConfigSnapshot
-
getFilterReboolConstant
- Specified by:
getFilterReboolConstant
in interfaceExprEvaluatorContext
-
setFilterReboolConstant
- Specified by:
setFilterReboolConstant
in interfaceExprEvaluatorContext
-