public class TimerWithinGuard extends Object implements Guard, ScheduleHandleCallback
MatchedEventMap
instances pass until then.Modifier and Type | Field and Description |
---|---|
static String |
NAME_AUDITPROVIDER_SCHEDULE |
Constructor and Description |
---|
TimerWithinGuard(long delta,
Quitable quitable)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(EventGuardVisitor visitor) |
boolean |
inspect(MatchedEventMap matchEvent)
Returns true if inspection shows that the match events can pass, or false to not pass.
|
void |
scheduledTrigger()
Callback that is invoked as indicated by a schedule added to the scheduling service.
|
void |
startGuard()
Start the guard operation.
|
void |
stopGuard()
Called when sub-expression quits, or when the pattern stopped.
|
public static final String NAME_AUDITPROVIDER_SCHEDULE
public TimerWithinGuard(long delta, Quitable quitable)
delta
- - number of millisecond to guard expirationquitable
- - to use to indicate that the gaurd quittedpublic void startGuard()
Guard
startGuard
in interface Guard
public void stopGuard()
Guard
public boolean inspect(MatchedEventMap matchEvent)
Guard
public final void scheduledTrigger()
ScheduleHandleCallback
scheduledTrigger
in interface ScheduleHandleCallback
public void accept(EventGuardVisitor visitor)
Copyright © 2005–2018. All rights reserved.