public interface DistributionManager
Modifier and Type | Method and Description |
---|---|
LocalizedCacheTopology |
createLocalizedCacheTopology(CacheTopology cacheTopology) |
LocalizedCacheTopology |
getCacheTopology() |
ConsistentHash |
getReadConsistentHash()
Deprecated.
Since 11.0, to be removed in 14.0. Please use
getCacheTopology() instead. |
ConsistentHash |
getWriteConsistentHash()
Deprecated.
Since 11.0, to be removed in 14.0. Please use
getCacheTopology() instead. |
boolean |
isAffectedByRehash(Object key)
Tests whether a given key is affected by a rehash that may be in progress.
|
boolean |
isJoinComplete()
Tests whether the current instance has completed joining the cluster
|
boolean |
isRehashInProgress()
Tests whether a rehash is in progress
|
void |
setCacheTopology(CacheTopology cacheTopology)
Deprecated.
Internal only.
|
@Deprecated ConsistentHash getReadConsistentHash()
getCacheTopology()
instead.@Deprecated ConsistentHash getWriteConsistentHash()
getCacheTopology()
instead.boolean isAffectedByRehash(Object key)
key
- key to testboolean isRehashInProgress()
boolean isJoinComplete()
LocalizedCacheTopology getCacheTopology()
@Deprecated void setCacheTopology(CacheTopology cacheTopology)
LocalizedCacheTopology createLocalizedCacheTopology(CacheTopology cacheTopology)
Copyright © 2021 JBoss by Red Hat. All rights reserved.