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 ofXSiteEvent
from another node in the local site.onRemoteEvents
(List<XSiteEvent> events) Handles a list ofXSiteEvent
from another site.
-
Method Details
-
onLocalEvents
Handles a list ofXSiteEvent
from another node in the local site.- Parameters:
events
- TheXSiteEvent
list.- Returns:
- A
CompletionStage
that is completed when all the events are processed.
-
onRemoteEvents
Handles a list ofXSiteEvent
from another site.- Parameters:
events
- TheXSiteEvent
list.- Returns:
- A
CompletionStage
that is completed when all the events are processed.
-