public interface Correlator extends EventSetProcessor<CorrelatorAdapter>, CorrelatorOperations
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Finishes this event set processor.
|
boolean |
onAcceptAsFirst(Event event)
A callback method that checks if this event should be accepted as the first event of this correlator, therefore starting a new
instance.
|
void |
onDuration()
Callback invoked when duration timeout occurs.
|
void |
onEvent(Event event)
Callback invoked when an event happens.
|
getFirstEvent, getGroupsetEvent, setEventsgetAdapter, getLogger, onConfigure, onInitgetMaxInstances, isInstanceSynchronous, setInstanceSynchronous, setMaxInstancesgetDuration, hasDuration, isSynchronous, setDuration, setSynchronousgetFeatures, getKnowledgeBase, setFeaturesgetDescription, getLabel, getName, setDescription, setLabel, setNamegetVersion, setVersionboolean onAcceptAsFirst(Event event)
event - the incoming event.true if this event should be accepted as the first event.void onEvent(Event event)
event - event.void onDuration()
void finish()
Copyright © 2016–2019 Softelnet. All rights reserved.