Package org.infinispan.xsite.events
Interface XSiteEventsManager
- All Known Implementing Classes:
NoOpXSiteEventsManager,XSiteEventsManagerImpl
public interface XSiteEventsManager
A manager class that handles the
XSiteEvent from local and remote sites.- Since:
- 15.0
-
Method Summary
Modifier and TypeMethodDescriptiononLocalEvents(List<XSiteEvent> events) Handles a list ofXSiteEventfrom another node in the local site.onRemoteEvents(List<XSiteEvent> events) Handles a list ofXSiteEventfrom another site.
-
Method Details
-
onLocalEvents
Handles a list ofXSiteEventfrom another node in the local site.- Parameters:
events- TheXSiteEventlist.- Returns:
- A
CompletionStagethat is completed when all the events are processed.
-
onRemoteEvents
Handles a list ofXSiteEventfrom another site.- Parameters:
events- TheXSiteEventlist.- Returns:
- A
CompletionStagethat is completed when all the events are processed.
-