public class ScatteredStateProviderImpl extends StateProviderImpl implements ScatteredStateProvider
| Modifier and Type | Field and Description |
|---|---|
protected ScatteredVersionManager |
svm |
cacheName, chunkSize, commandsFactory, dataContainer, distributionManager, entryFactory, keyPartitioner, persistenceManager, rpcManager, stateTransferLock, timeout, transactionOriginatorChecker| Constructor and Description |
|---|
ScatteredStateProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
confirmRevokedSegments(int topologyId)
Confirm that this node has received cache topology with given topologyId and that it has
moved all the segments it does not own according to consistent hash
to the
ScatteredVersionManager.SegmentState.NOT_OWNED state. |
CompletableFuture<Void> |
onTopologyUpdate(CacheTopology cacheTopology,
boolean isRebalance)
Receive notification of topology changes.
|
void |
start() |
void |
startKeysTransfer(IntSet segments,
Address origin)
Start transferring keys and remote metadata for the given segments to the origin.
|
addTransfer, cancelOutboundTransfer, getClusterListenersToInstall, getTransactionsForSegments, isStateTransferInProgress, logError, onTaskCompletion, publishDataContainerEntries, publishStoreEntries, startOutboundTransfer, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelOutboundTransfer, getClusterListenersToInstall, getTransactionsForSegments, isStateTransferInProgress, startOutboundTransfer, stopprotected ScatteredVersionManager svm
public void start()
start in interface StateProviderstart in class StateProviderImplpublic CompletableFuture<Void> onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)
StateProvideronTopologyUpdate in interface StateProvideronTopologyUpdate in class StateProviderImplpublic void startKeysTransfer(IntSet segments, Address origin)
ScatteredStateProviderstartKeysTransfer in interface ScatteredStateProviderpublic CompletableFuture<Void> confirmRevokedSegments(int topologyId)
ScatteredStateProviderScatteredVersionManager.SegmentState.NOT_OWNED state.confirmRevokedSegments in interface ScatteredStateProviderCopyright © 2022 JBoss by Red Hat. All rights reserved.