public final class LocalEventDispatcher extends Object implements StripedRunnable, TimeoutRunnable
StripedRunnable responsible of processing the event on a thread defined by the orderKey.
Processes the event by dispatching it on the responsible EventPublishingService together with the listener
responsible for the event.| Constructor and Description |
|---|
LocalEventDispatcher(EventServiceImpl eventService,
String serviceName,
Object event,
Object listener,
int orderKey,
long timeoutMs) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getEvent() |
int |
getKey() |
String |
getServiceName() |
long |
getTimeout() |
TimeUnit |
getTimeUnit() |
void |
run() |
public LocalEventDispatcher(EventServiceImpl eventService, String serviceName, Object event, Object listener, int orderKey, long timeoutMs)
public long getTimeout()
getTimeout in interface TimeoutRunnablepublic TimeUnit getTimeUnit()
getTimeUnit in interface TimeoutRunnablepublic int getKey()
getKey in interface StripedRunnablepublic String getServiceName()
public Object getEvent()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.