Package gg.xp.reevent.events
Class AutoEventDistributor
java.lang.Object
gg.xp.reevent.events.BasicEventDistributor
gg.xp.reevent.events.AutoEventDistributor
- All Implemented Interfaces:
EventDistributor,TopologyProvider
-
Field Summary
Fields inherited from class gg.xp.reevent.events.BasicEventDistributor
handlers -
Constructor Summary
ConstructorsConstructorDescriptionAutoEventDistributor(StateStore state, AutoHandlerScan scanner, TopologyInfo topoInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptEvent(Event event) protected List<EventHandler<Event>>getHandlersForEvent(Event event) voidreload()protected voidMethods inherited from class gg.xp.reevent.events.BasicEventDistributor
getStateStore, getTimeStats, isProfilingEnabled, registerHandler, setProfilingEnabled, setQueueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gg.xp.reevent.events.EventDistributor
registerHandler
-
Constructor Details
-
AutoEventDistributor
-
-
Method Details
-
reload
public void reload() -
sortHandlers
protected void sortHandlers()- Overrides:
sortHandlersin classBasicEventDistributor
-
getHandlersForEvent
- Overrides:
getHandlersForEventin classBasicEventDistributor
-
getTopology
- Specified by:
getTopologyin interfaceTopologyProvider
-
acceptEvent
- Specified by:
acceptEventin interfaceEventDistributor- Overrides:
acceptEventin classBasicEventDistributor
-