public interface StateConsumer
Modifier and Type | Method and Description |
---|---|
void |
applyState(Address sender,
int topologyId,
Collection<StateChunk> stateChunks) |
CacheTopology |
getCacheTopology() |
boolean |
isStateTransferInProgress() |
boolean |
isStateTransferInProgressForKey(Object key) |
void |
onTopologyUpdate(CacheTopology cacheTopology,
boolean isRebalance)
Receive notification of topology changes.
|
boolean |
ownsData() |
void |
stop()
Cancels all incoming state transfers.
|
void |
stopApplyingState()
Stops applying incoming state.
|
CacheTopology getCacheTopology()
boolean isStateTransferInProgress()
boolean isStateTransferInProgressForKey(Object key)
void onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)
cacheTopology
- isRebalance
- void applyState(Address sender, int topologyId, Collection<StateChunk> stateChunks)
void stop()
void stopApplyingState()
boolean ownsData()
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.