Class EventService
java.lang.Object
org.apache.iotdb.confignode.manager.load.service.EventService
EventService periodically check statistics and broadcast corresponding change event if necessary.
-
Constructor Summary
ConstructorsConstructorDescriptionEventService(IManager configManager, LoadCache loadCache, RouteBalancer routeBalancer) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcom.google.common.eventbus.EventBusvoidStart the event service.voidStop the event service.
-
Constructor Details
-
EventService
-
-
Method Details
-
startEventService
public void startEventService()Start the event service. -
stopEventService
public void stopEventService()Stop the event service. -
checkAndBroadcastNodeStatisticsChangeEventIfNecessary
public void checkAndBroadcastNodeStatisticsChangeEventIfNecessary() -
checkAndBroadcastRegionGroupStatisticsChangeEventIfNecessary
public void checkAndBroadcastRegionGroupStatisticsChangeEventIfNecessary() -
checkAndBroadcastConsensusGroupStatisticsChangeEventIfNecessary
public void checkAndBroadcastConsensusGroupStatisticsChangeEventIfNecessary() -
getEventPublisher
public com.google.common.eventbus.EventBus getEventPublisher()
-