public interface PatternStarter
Modifier and Type | Method and Description |
---|---|
PatternStopCallback |
start(PatternMatchCallback matchCallback,
PatternContext context,
boolean isRecoveringResilient)
An event expression was started and supplies the callback to use when matching events appear.
|
PatternStopCallback start(PatternMatchCallback matchCallback, PatternContext context, boolean isRecoveringResilient)
matchCallback
- must be supplied to indicate what to call when the expression turns truecontext
- is the context for handles to services required for evaluation.isRecoveringResilient
- true for recovering