Class AuditProviderDefault
java.lang.Object
com.espertech.esper.common.internal.metrics.audit.AuditProviderDefault
- All Implemented Interfaces:
AuditProvider
,AuditProviderContextPartition
,AuditProviderDataflowOp
,AuditProviderDataflowSource
,AuditProviderDataflowTransition
,AuditProviderExprDef
,AuditProviderExpression
,AuditProviderInsert
,AuditProviderPattern
,AuditProviderPatternInstances
,AuditProviderProperty
,AuditProviderSchedule
,AuditProviderStream
,AuditProviderView
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
contextPartition
(boolean allocate, AgentInstanceContext agentInstanceContext) void
dataflowOp
(String dataFlowName, String instanceId, String operatorName, int operatorNumber, Object[] parameters, AgentInstanceContext agentInstanceContext) void
dataflowSource
(String dataFlowName, String dataFlowInstanceId, String operatorName, int operatorNumber, AgentInstanceContext agentInstanceContext) void
dataflowTransition
(String dataflowName, String dataFlowInstanceId, EPDataFlowState state, EPDataFlowState newState, AgentInstanceContext agentInstanceContext) void
exprdef
(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) void
expression
(String text, Object value, ExprEvaluatorContext exprEvaluatorContext) void
insert
(EventBean event, ExprEvaluatorContext exprEvaluatorContext) void
patternFalse
(EvalFactoryNode factoryNode, Object from, AgentInstanceContext agentInstanceContext) void
patternInstance
(boolean increase, EvalFactoryNode factoryNode, AgentInstanceContext agentInstanceContext) void
patternTrue
(EvalFactoryNode factoryNode, Object from, MatchedEventMapMinimal matchEvent, boolean isQuitted, AgentInstanceContext agentInstanceContext) void
property
(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) void
scheduleAdd
(long nextScheduledTime, AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType type, String name) void
scheduleFire
(AgentInstanceContext agentInstanceContext, ScheduleObjectType type, String name) void
scheduleRemove
(AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType type, String name) void
stream
(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, String filterSpecText) void
stream
(EventBean event, ExprEvaluatorContext context, String filterSpecText) void
view
(EventBean[] newData, EventBean[] oldData, AgentInstanceContext agentInstanceContext, ViewFactory viewFactory)
-
Field Details
-
EPTYPE
-
INSTANCE
-
-
Method Details
-
activated
public boolean activated()- Specified by:
activated
in interfaceAuditProvider
-
view
public void view(EventBean[] newData, EventBean[] oldData, AgentInstanceContext agentInstanceContext, ViewFactory viewFactory) - Specified by:
view
in interfaceAuditProviderView
-
stream
- Specified by:
stream
in interfaceAuditProviderStream
-
stream
public void stream(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, String filterSpecText) - Specified by:
stream
in interfaceAuditProviderStream
-
scheduleAdd
public void scheduleAdd(long nextScheduledTime, AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType type, String name) - Specified by:
scheduleAdd
in interfaceAuditProviderSchedule
-
scheduleRemove
public void scheduleRemove(AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType type, String name) - Specified by:
scheduleRemove
in interfaceAuditProviderSchedule
-
scheduleFire
public void scheduleFire(AgentInstanceContext agentInstanceContext, ScheduleObjectType type, String name) - Specified by:
scheduleFire
in interfaceAuditProviderSchedule
-
property
- Specified by:
property
in interfaceAuditProviderProperty
-
insert
- Specified by:
insert
in interfaceAuditProviderInsert
-
expression
- Specified by:
expression
in interfaceAuditProviderExpression
-
patternTrue
public void patternTrue(EvalFactoryNode factoryNode, Object from, MatchedEventMapMinimal matchEvent, boolean isQuitted, AgentInstanceContext agentInstanceContext) - Specified by:
patternTrue
in interfaceAuditProviderPattern
-
patternFalse
public void patternFalse(EvalFactoryNode factoryNode, Object from, AgentInstanceContext agentInstanceContext) - Specified by:
patternFalse
in interfaceAuditProviderPattern
-
patternInstance
public void patternInstance(boolean increase, EvalFactoryNode factoryNode, AgentInstanceContext agentInstanceContext) - Specified by:
patternInstance
in interfaceAuditProviderPatternInstances
-
exprdef
- Specified by:
exprdef
in interfaceAuditProviderExprDef
-
dataflowTransition
public void dataflowTransition(String dataflowName, String dataFlowInstanceId, EPDataFlowState state, EPDataFlowState newState, AgentInstanceContext agentInstanceContext) - Specified by:
dataflowTransition
in interfaceAuditProviderDataflowTransition
-
dataflowSource
public void dataflowSource(String dataFlowName, String dataFlowInstanceId, String operatorName, int operatorNumber, AgentInstanceContext agentInstanceContext) - Specified by:
dataflowSource
in interfaceAuditProviderDataflowSource
-
dataflowOp
public void dataflowOp(String dataFlowName, String instanceId, String operatorName, int operatorNumber, Object[] parameters, AgentInstanceContext agentInstanceContext) - Specified by:
dataflowOp
in interfaceAuditProviderDataflowOp
-
contextPartition
- Specified by:
contextPartition
in interfaceAuditProviderContextPartition
-