public interface StateTransferManager
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin)
If there is an state transfer happening at the moment, this method forwards the supplied
command to the nodes that are new owners of the data, in order to assure consistency.
|
String |
getRebalancingStatus() |
StateConsumer |
getStateConsumer() |
StateProvider |
getStateProvider() |
boolean |
isJoinComplete() |
boolean |
isStateTransferInProgress()
Checks if an inbound state transfer is in progress.
|
default boolean |
isStateTransferInProgressForKey(Object key)
Deprecated.
since 10.0; to be removed in next major version
|
void |
start() |
void |
stop() |
void |
waitForInitialStateTransferToComplete()
Wait for the local cache to receive initial state from the other members.
|
boolean isJoinComplete()
boolean isStateTransferInProgress()
@Deprecated default boolean isStateTransferInProgressForKey(Object key)
void waitForInitialStateTransferToComplete()
Does nothing if StateTransferConfiguration.awaitInitialTransfer()
is disabled.
void stop()
Map<Address,Response> forwardCommandIfNeeded(TopologyAffectedCommand command, Set<Object> affectedKeys, Address origin)
StateConsumer getStateConsumer()
StateProvider getStateProvider()
Copyright © 2021 JBoss by Red Hat. All rights reserved.