Package org.infinispan.xsite.events
Class XSiteEventsManagerImpl
java.lang.Object
org.infinispan.xsite.events.XSiteEventsManagerImpl
- All Implemented Interfaces:
XSiteEventsManager
Default implementation of
XSiteEventsManager.- Since:
- 15.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateExecutor(BlockingManager blockingManager) voidonCacheStarted(CacheStartedEvent event) onLocalEvents(List<XSiteEvent> events) Handles a list ofXSiteEventfrom another node in the local site.onRemoteEvents(List<XSiteEvent> events) Handles a list ofXSiteEventfrom another site.voidvoidstart()voidstop()
-
Constructor Details
-
XSiteEventsManagerImpl
public XSiteEventsManagerImpl()
-
-
Method Details
-
start
public void start() -
stop
public void stop() -
createExecutor
-
onLocalEvents
Description copied from interface:XSiteEventsManagerHandles a list ofXSiteEventfrom another node in the local site.- Specified by:
onLocalEventsin interfaceXSiteEventsManager- Parameters:
events- TheXSiteEventlist.- Returns:
- A
CompletionStagethat is completed when all the events are processed.
-
onRemoteEvents
Description copied from interface:XSiteEventsManagerHandles a list ofXSiteEventfrom another site.- Specified by:
onRemoteEventsin interfaceXSiteEventsManager- Parameters:
events- TheXSiteEventlist.- Returns:
- A
CompletionStagethat is completed when all the events are processed.
-
onSiteViewChanged
-
onCacheStarted
-