Package alpine.event.framework
Class EventService
- java.lang.Object
-
- alpine.event.framework.BaseEventService
-
- alpine.event.framework.EventService
-
- All Implemented Interfaces:
IEventService
public final class EventService 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 configurable number of worker threads when processing events.- Since:
- 1.0.0
- Author:
- Steve Springett
- See Also:
Config.AlpineKey.WORKER_THREADS,Config.AlpineKey.WORKER_THREAD_MULTIPLIER,ThreadUtil.determineNumberOfWorkerThreads()
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventServicegetInstance()-
Methods inherited from class alpine.event.framework.BaseEventService
hasSubscriptions, isEventBeingProcessed, isEventBeingProcessed, publish, setExecutorService, setLogger, shutdown, subscribe, unsubscribe
-
-
-
-
Method Detail
-
getInstance
public static EventService getInstance()
-
-