com.espertech.esper.core.context.mgr
Class ContextControllerConditionPattern

java.lang.Object
  extended by com.espertech.esper.core.context.mgr.ContextControllerConditionPattern
All Implemented Interfaces:
ContextControllerCondition, PatternMatchCallback

public class ContextControllerConditionPattern
extends java.lang.Object
implements ContextControllerCondition, PatternMatchCallback


Nested Class Summary
static class ContextControllerConditionPattern.ConditionPatternMatchCallback
           
 
Field Summary
protected  EvalRootState patternStopCallback
           
 
Constructor Summary
ContextControllerConditionPattern(EPServicesContext servicesContext, AgentInstanceContext agentInstanceContext, ContextDetailConditionPattern endpointPatternSpec, ContextControllerConditionCallback callback, ContextInternalFilterAddendum filterAddendum, boolean startEndpoint, ContextStatePathKey contextStatePathKey)
           
 
Method Summary
 void activate(EventBean optionalTriggeringEvent, MatchedEventMap priorMatches, long timeOffset, boolean isRecoveringReslient)
           
 void deactivate()
           
 java.lang.Long getExpectedEndTime()
           
 boolean isImmediate()
           
 boolean isRunning()
           
 void matchFound(java.util.Map<java.lang.String,java.lang.Object> matchEvent)
          Indicate matching events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

patternStopCallback

protected EvalRootState patternStopCallback
Constructor Detail

ContextControllerConditionPattern

public ContextControllerConditionPattern(EPServicesContext servicesContext,
                                         AgentInstanceContext agentInstanceContext,
                                         ContextDetailConditionPattern endpointPatternSpec,
                                         ContextControllerConditionCallback callback,
                                         ContextInternalFilterAddendum filterAddendum,
                                         boolean startEndpoint,
                                         ContextStatePathKey contextStatePathKey)
Method Detail

activate

public void activate(EventBean optionalTriggeringEvent,
                     MatchedEventMap priorMatches,
                     long timeOffset,
                     boolean isRecoveringReslient)
Specified by:
activate in interface ContextControllerCondition

matchFound

public void matchFound(java.util.Map<java.lang.String,java.lang.Object> matchEvent)
Description copied from interface: PatternMatchCallback
Indicate matching events.

Specified by:
matchFound in interface PatternMatchCallback
Parameters:
matchEvent - contains a map of event tags and event objects

deactivate

public void deactivate()
Specified by:
deactivate in interface ContextControllerCondition

isRunning

public boolean isRunning()
Specified by:
isRunning in interface ContextControllerCondition

getExpectedEndTime

public java.lang.Long getExpectedEndTime()
Specified by:
getExpectedEndTime in interface ContextControllerCondition

isImmediate

public boolean isImmediate()
Specified by:
isImmediate in interface ContextControllerCondition

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