|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.pattern.guard.TimerWithinGuardFactory
public class TimerWithinGuardFactory
Factory for TimerWithinGuard
instances.
Field Summary | |
---|---|
protected MatchedEventConvertor |
convertor
For converting matched-events maps to events-per-stream. |
protected ExprNode |
millisecondsExpr
Number of milliseconds. |
Constructor Summary | |
---|---|
TimerWithinGuardFactory()
|
Method Summary | |
---|---|
protected long |
computeMilliseconds(MatchedEventMap beginState,
PatternAgentInstanceContext context)
|
Guard |
makeGuard(PatternAgentInstanceContext context,
MatchedEventMap matchedEventMap,
Quitable quitable,
EvalStateNodeNumber stateNodeId,
java.lang.Object guardState)
Constructs a guard instance. |
void |
setGuardParameters(java.util.List<ExprNode> parameters,
MatchedEventConvertor convertor)
Sets the guard object parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ExprNode millisecondsExpr
protected transient MatchedEventConvertor convertor
Constructor Detail |
---|
public TimerWithinGuardFactory()
Method Detail |
---|
public void setGuardParameters(java.util.List<ExprNode> parameters, MatchedEventConvertor convertor) throws GuardParameterException
GuardFactory
setGuardParameters
in interface GuardFactory
parameters
- is a list of parametersconvertor
- for converting a
GuardParameterException
- thrown to indicate a parameter problemprotected long computeMilliseconds(MatchedEventMap beginState, PatternAgentInstanceContext context)
public Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap matchedEventMap, Quitable quitable, EvalStateNodeNumber stateNodeId, java.lang.Object guardState)
GuardFactory
makeGuard
in interface GuardFactory
context
- - services for use by guardmatchedEventMap
- - the prior matching eventsquitable
- - to use for indicating the guard has quitstateNodeId
- - a node id for the state objectguardState
- - state node for guard
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |