public interface RemovedNodePruning extends ReplicatedData
ReplicatedData
that has support for pruning of data
belonging to a specific node may implement this interface.
When a node is removed from the cluster these methods will be
used by the Replicator
to collapse data from the removed node
into some other node in the cluster.Modifier and Type | Method and Description |
---|---|
boolean |
needPruningFrom(UniqueAddress removedNode)
Does it have any state changes from a specific node,
which has been removed from the cluster.
|
RemovedNodePruning |
prune(UniqueAddress removedNode,
UniqueAddress collapseInto)
When the
removed node has been removed from the cluster the state
changes from that node will be pruned by collapsing the data entries
to another node. |
RemovedNodePruning |
pruningCleanup(UniqueAddress removedNode)
Remove data entries from a node that has been removed from the cluster
and already been pruned.
|
merge
boolean needPruningFrom(UniqueAddress removedNode)
removedNode
- (undocumented)RemovedNodePruning prune(UniqueAddress removedNode, UniqueAddress collapseInto)
removed
node has been removed from the cluster the state
changes from that node will be pruned by collapsing the data entries
to another node.removedNode
- (undocumented)collapseInto
- (undocumented)RemovedNodePruning pruningCleanup(UniqueAddress removedNode)
removedNode
- (undocumented)