public abstract class BaseEventRegistryEventConsumer extends Object implements EventRegistryEventConsumer
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected AbstractEngineConfiguration |
engingeConfiguration |
| Constructor and Description |
|---|
BaseEventRegistryEventConsumer(AbstractEngineConfiguration engingeConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EventSubscriptionQuery |
createEventSubscriptionQuery() |
protected abstract void |
eventReceived(EventInstance eventInstance) |
void |
eventReceived(EventRegistryEvent event) |
protected List<EventSubscription> |
findEventSubscriptions(String scopeType,
EventInstance eventInstance,
Collection<CorrelationKey> correlationKeys) |
protected String |
generateCorrelationKey(Collection<EventPayloadInstance> correlationParameterInstances) |
protected Collection<CorrelationKey> |
generateCorrelationKeys(Collection<EventPayloadInstance> correlationParameterInstances)
Generates all possible correlation keys for the given correlation parameters.
|
protected CorrelationKey |
getCorrelationKeyWithAllParameters(Collection<CorrelationKey> correlationKeys) |
protected EventRegistry |
getEventRegistry() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConsumerKeyprotected AbstractEngineConfiguration engingeConfiguration
protected CommandExecutor commandExecutor
public BaseEventRegistryEventConsumer(AbstractEngineConfiguration engingeConfiguration)
public void eventReceived(EventRegistryEvent event)
eventReceived in interface EventRegistryEventConsumerprotected abstract void eventReceived(EventInstance eventInstance)
protected Collection<CorrelationKey> generateCorrelationKeys(Collection<EventPayloadInstance> correlationParameterInstances)
protected String generateCorrelationKey(Collection<EventPayloadInstance> correlationParameterInstances)
protected EventRegistry getEventRegistry()
protected CorrelationKey getCorrelationKeyWithAllParameters(Collection<CorrelationKey> correlationKeys)
protected List<EventSubscription> findEventSubscriptions(String scopeType, EventInstance eventInstance, Collection<CorrelationKey> correlationKeys)
protected abstract EventSubscriptionQuery createEventSubscriptionQuery()
Copyright © 2021 Flowable. All rights reserved.