Package alpine.event.framework
Class SingleThreadedEventService
- java.lang.Object
-
- alpine.event.framework.BaseEventService
-
- alpine.event.framework.SingleThreadedEventService
-
- All Implemented Interfaces:
IEventService
public final class SingleThreadedEventService extends BaseEventService
A publish/subscribe (pub/sub) event service that provides the ability to publish events and asynchronously inform all subscribers to subscribed events. This class will use a single thread for the processing of events. Use EventService for an implementation that allows for a configurable number of threads.- Since:
- 1.0.0
- Author:
- Steve Springett
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SingleThreadedEventServicegetInstance()-
Methods inherited from class alpine.event.framework.BaseEventService
hasSubscriptions, isEventBeingProcessed, isEventBeingProcessed, publish, setExecutorService, setLogger, shutdown, subscribe, unsubscribe
-
-
-
-
Method Detail
-
getInstance
public static SingleThreadedEventService getInstance()
-
-