Package org.infinispan.scattered.impl
Class ScatteredStateProviderImpl
java.lang.Object
org.infinispan.statetransfer.StateProviderImpl
org.infinispan.scattered.impl.ScatteredStateProviderImpl
- All Implemented Interfaces:
ScatteredStateProvider,org.infinispan.statetransfer.StateProvider
public class ScatteredStateProviderImpl
extends org.infinispan.statetransfer.StateProviderImpl
implements ScatteredStateProvider
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfirmRevokedSegments(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 theScatteredVersionManager.SegmentState.NOT_OWNEDstate.onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance) voidstart()voidstartKeysTransfer(IntSet segments, Address origin) Start transferring keys and remote metadata for the given segments to the origin.
-
Field Details
-
svm
-
-
Constructor Details
-
ScatteredStateProviderImpl
public ScatteredStateProviderImpl()
-
-
Method Details
-
start
public void start() -
onTopologyUpdate
-
startKeysTransfer
Description copied from interface:ScatteredStateProviderStart transferring keys and remote metadata for the given segments to the origin.- Specified by:
startKeysTransferin interfaceScatteredStateProvider
-
confirmRevokedSegments
Description copied from interface:ScatteredStateProviderConfirm 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 theScatteredVersionManager.SegmentState.NOT_OWNEDstate.- Specified by:
confirmRevokedSegmentsin interfaceScatteredStateProvider
-