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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createExecutor
(BlockingManager blockingManager) void
onCacheStarted
(CacheStartedEvent event) onLocalEvents
(List<XSiteEvent> events) Handles a list ofXSiteEvent
from another node in the local site.onRemoteEvents
(List<XSiteEvent> events) Handles a list ofXSiteEvent
from another site.void
void
start()
void
stop()
-
Constructor Details
-
XSiteEventsManagerImpl
public XSiteEventsManagerImpl()
-
-
Method Details
-
start
public void start() -
stop
public void stop() -
createExecutor
-
onLocalEvents
Description copied from interface:XSiteEventsManager
Handles a list ofXSiteEvent
from another node in the local site.- Specified by:
onLocalEvents
in interfaceXSiteEventsManager
- Parameters:
events
- TheXSiteEvent
list.- Returns:
- A
CompletionStage
that is completed when all the events are processed.
-
onRemoteEvents
Description copied from interface:XSiteEventsManager
Handles a list ofXSiteEvent
from another site.- Specified by:
onRemoteEvents
in interfaceXSiteEventsManager
- Parameters:
events
- TheXSiteEvent
list.- Returns:
- A
CompletionStage
that is completed when all the events are processed.
-
onSiteViewChanged
-
onCacheStarted
-