Package org.nuxeo.ecm.core.storage
Interface ClusterInvalidator<T>
- Type Parameters:
T
- the type of the invalidations
- All Known Subinterfaces:
DBSClusterInvalidator
,VCSClusterInvalidator
- All Known Implementing Classes:
DBSPubSubInvalidator
,VCSPubSubInvalidator
public interface ClusterInvalidator<T>
Encapsulates cluster node invalidations management.
There is one cluster invalidator per cluster node (repository).
- Since:
- 11.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this cluster invalidator and releases resources.Receives invalidations from other cluster nodes.void
sendInvalidations
(T invalidations) Sends invalidations to other cluster nodes.
-
Method Details
-
close
void close()Closes this cluster invalidator and releases resources. -
receiveInvalidations
T receiveInvalidations()Receives invalidations from other cluster nodes. -
sendInvalidations
Sends invalidations to other cluster nodes.
-