|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.pattern.guard.TimerWithinGuardFactory
public class TimerWithinGuardFactory
Factory for TimerWithinGuard
instances.
Constructor Summary | |
---|---|
TimerWithinGuardFactory(double seconds)
Creates a timer guard. |
|
TimerWithinGuardFactory(int seconds)
Creates a timer guard. |
|
TimerWithinGuardFactory(long seconds)
Creates a timer guard. |
|
TimerWithinGuardFactory(TimePeriodParameter timePeriodParameter)
Creates a timer guard. |
Method Summary | |
---|---|
Guard |
makeGuard(PatternContext context,
Quitable quitable)
Constructs a guard instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimerWithinGuardFactory(int seconds)
seconds
- number of seconds before guard expirationpublic TimerWithinGuardFactory(double seconds)
seconds
- number of seconds before guard expirationpublic TimerWithinGuardFactory(long seconds)
seconds
- number of seconds before guard expirationpublic TimerWithinGuardFactory(TimePeriodParameter timePeriodParameter)
timePeriodParameter
- number of milliseconds before guard expirationMethod Detail |
---|
public Guard makeGuard(PatternContext context, Quitable quitable)
GuardFactory
makeGuard
in interface GuardFactory
context
- - services for use by guardquitable
- - to use for indicating the guard has quit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |