Class AuditPath
java.lang.Object
com.espertech.esper.common.internal.metrics.audit.AuditPath
Global boolean for enabling and disable audit path reporting.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Logger destination for the audit logging.static boolean
Public access.static final String
Logger destination for the JDBC logging.static final String
Logger destination for the Lock activity logging.static final String
Logger destination for the query plan logging. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
auditContextPartition
(boolean allocate, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditDataflowOp
(String dataflowName, String dataFlowInstanceId, String operatorName, int operatorNumber, Object[] params, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditDataflowSource
(String dataflowName, String dataFlowInstanceId, String operatorName, int operatorNumber, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditDataflowTransition
(String dataflowName, String dataFlowInstanceId, EPDataFlowState state, EPDataFlowState newState, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditExprDef
(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditExpression
(String text, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditInsert
(EventBean theEvent, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditPatternFalse
(EvalFactoryNode factoryNode, Object from, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditPatternInstance
(boolean increase, EvalFactoryNode factoryNode, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditPatternTrue
(EvalFactoryNode factoryNode, Object from, MatchedEventMapMinimal matchEvent, boolean isQuitted, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditProperty
(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditScheduleAdd
(long nextScheduledTime, AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditScheduleFire
(AgentInstanceContext agentInstanceContext, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditScheduleRemove
(AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditStream
(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, String filterText) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditStream
(EventBean event, ExprEvaluatorContext context, String filterText) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic void
auditView
(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, ViewFactory viewFactory) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic AuditCallback
static boolean
static void
setAuditCallback
(AuditCallback auditCallback) static void
setAuditPattern
(String auditPattern)
-
Field Details
-
QUERYPLAN_LOG
Logger destination for the query plan logging.- See Also:
-
JDBC_LOG
Logger destination for the JDBC logging.- See Also:
-
AUDIT_LOG
Logger destination for the audit logging.- See Also:
-
LOCK_LOG
Logger destination for the Lock activity logging.- See Also:
-
isAuditEnabled
public static boolean isAuditEnabledPublic access.
-
-
Constructor Details
-
AuditPath
public AuditPath()
-
-
Method Details
-
setAuditPattern
-
auditInsert
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
theEvent
- eventexprEvaluatorContext
- ctx
-
auditView
public static void auditView(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, ViewFactory viewFactory) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
newData
- new eventsoldData
- old eventscontext
- contextviewFactory
- view factory
-
auditStream
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
event
- eventcontext
- contextfilterText
- text for filter
-
auditStream
public static void auditStream(EventBean[] newData, EventBean[] oldData, ExprEvaluatorContext context, String filterText) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
newData
- new dataoldData
- old datacontext
- contextfilterText
- text for filter
-
auditScheduleAdd
public static void auditScheduleAdd(long nextScheduledTime, AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
nextScheduledTime
- timeagentInstanceContext
- ctxscheduleHandle
- handlename
- nameobjectType
- object type
-
auditScheduleRemove
public static void auditScheduleRemove(AgentInstanceContext agentInstanceContext, ScheduleHandle scheduleHandle, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
agentInstanceContext
- ctxscheduleHandle
- handlename
- nameobjectType
- object type
-
auditScheduleFire
public static void auditScheduleFire(AgentInstanceContext agentInstanceContext, ScheduleObjectType objectType, String name) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
agentInstanceContext
- ctxobjectType
- object typename
- name
-
auditProperty
public static void auditProperty(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
name
- namevalue
- valueexprEvaluatorContext
- ctx
-
auditExpression
public static void auditExpression(String text, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
text
- namevalue
- valueexprEvaluatorContext
- ctx
-
auditPatternTrue
public static void auditPatternTrue(EvalFactoryNode factoryNode, Object from, MatchedEventMapMinimal matchEvent, boolean isQuitted, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
factoryNode
- factoryfrom
- frommatchEvent
- stateisQuitted
- quitted-flagagentInstanceContext
- ctx
-
auditPatternFalse
public static void auditPatternFalse(EvalFactoryNode factoryNode, Object from, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
factoryNode
- factoryfrom
- fromagentInstanceContext
- ctx
-
auditExprDef
public static void auditExprDef(String name, Object value, ExprEvaluatorContext exprEvaluatorContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
name
- namevalue
- valueexprEvaluatorContext
- ctx
-
auditPatternInstance
public static void auditPatternInstance(boolean increase, EvalFactoryNode factoryNode, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
increase
- flag whether plus one or minus onefactoryNode
- factoryagentInstanceContext
- ctx
-
auditDataflowTransition
public static void auditDataflowTransition(String dataflowName, String dataFlowInstanceId, EPDataFlowState state, EPDataFlowState newState, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
dataflowName
- namedataFlowInstanceId
- idstate
- old statenewState
- new stateagentInstanceContext
- ctx
-
auditDataflowSource
public static void auditDataflowSource(String dataflowName, String dataFlowInstanceId, String operatorName, int operatorNumber, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
dataflowName
- namedataFlowInstanceId
- idoperatorName
- name of opoperatorNumber
- num of opagentInstanceContext
- ctx
-
auditDataflowOp
public static void auditDataflowOp(String dataflowName, String dataFlowInstanceId, String operatorName, int operatorNumber, Object[] params, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
dataflowName
- namedataFlowInstanceId
- idoperatorName
- name of opoperatorNumber
- num of opagentInstanceContext
- ctxparams
- params
-
auditContextPartition
public static void auditContextPartition(boolean allocate, AgentInstanceContext agentInstanceContext) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
allocate
- allocateagentInstanceContext
- ctx
-
isInfoEnabled
public static boolean isInfoEnabled() -
setAuditCallback
-
getAuditCallback
-