public abstract class BaseCorrelator extends BaseEventSetProcessor<CorrelatorAdapter> implements Correlator
| Constructor and Description |
|---|
BaseCorrelator() |
| Modifier and Type | Method and Description |
|---|---|
CorrelatorAdapter |
createAdapter() |
void |
finish() |
Lock |
getLock()
Returns the lock that can be used to synchronize threads when the instance synchronous flag is set to
false. |
BaseCorrelatorMeta |
getMeta() |
boolean |
onAcceptAsFirst(Event event) |
void |
onDuration() |
BaseCorrelator |
withCategory(String category) |
BaseCorrelator |
withDescription(String description) |
BaseCorrelator |
withDuration(Duration duration) |
BaseCorrelator |
withEvent(String eventName) |
BaseCorrelator |
withEvents(List<String> eventNames) |
BaseCorrelator |
withFeature(String name,
Object value) |
BaseCorrelator |
withFeatures(Map<String,Object> features) |
BaseCorrelator |
withInstanceSynchronous(boolean instanceSynchronous) |
BaseCorrelator |
withLabel(String label) |
BaseCorrelator |
withMaxInstances(int maxInstances) |
BaseCorrelator |
withName(String name) |
BaseCorrelator |
withSynchronous(Boolean synchronous) |
BaseCorrelator |
withVersion(Integer version) |
getEventSetProcessorAdapterImpl, getFirstEvent, getGroupgetAdapter, getKb, getKnowledgeBase, getLogger, getSponge, onInit, setAdapter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonEventgetFirstEvent, getGroupgetAdapter, getLogger, getSponge, onConfigure, onInitgetKnowledgeBasepublic BaseCorrelatorMeta getMeta()
getMeta in interface CorrelatorOperationsgetMeta in interface EventProcessorOperationsgetMeta in interface EventSetProcessorOperationsgetMeta in interface ProcessorOperationsgetMeta in class BaseEventSetProcessor<CorrelatorAdapter>public final void finish()
finish in interface Correlatorpublic boolean onAcceptAsFirst(Event event)
onAcceptAsFirst in interface Correlatorpublic void onDuration()
onDuration in interface Correlatorpublic final CorrelatorAdapter createAdapter()
createAdapter in interface ProcessorAdapterFactory<CorrelatorAdapter>public final Lock getLock()
false.public BaseCorrelator withName(String name)
withName in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withLabel(String label)
withLabel in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withDescription(String description)
withDescription in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withVersion(Integer version)
withVersion in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withFeatures(Map<String,Object> features)
withFeatures in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withFeature(String name, Object value)
withFeature in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withCategory(String category)
withCategory in class BaseProcessor<CorrelatorAdapter>public BaseCorrelator withEvents(List<String> eventNames)
withEvents in class BaseEventProcessor<CorrelatorAdapter>public BaseCorrelator withEvent(String eventName)
withEvent in class BaseEventProcessor<CorrelatorAdapter>public BaseCorrelator withDuration(Duration duration)
withDuration in class BaseEventSetProcessor<CorrelatorAdapter>public BaseCorrelator withSynchronous(Boolean synchronous)
withSynchronous in class BaseEventSetProcessor<CorrelatorAdapter>public BaseCorrelator withMaxInstances(int maxInstances)
public BaseCorrelator withInstanceSynchronous(boolean instanceSynchronous)
Copyright © 2016–2021 Softelnet. All rights reserved.