net.spy.memcached.vbucket.config
Interface Config
- All Known Implementing Classes:
- CacheConfig, DefaultConfig
public interface Config
getReplicasCount
int getReplicasCount()
getVbucketsCount
int getVbucketsCount()
getServersCount
int getServersCount()
getHashAlgorithm
HashAlgorithm getHashAlgorithm()
getServer
String getServer(int serverIndex)
getVbucketByKey
int getVbucketByKey(String key)
getMaster
int getMaster(int vbucketIndex)
getReplica
int getReplica(int vbucketIndex,
int replicaIndex)
foundIncorrectMaster
int foundIncorrectMaster(int vbucket,
int wrongServer)
compareTo
ConfigDifference compareTo(Config config)
getServers
List<String> getServers()
getVbuckets
List<VBucket> getVbuckets()
getConfigType
ConfigType getConfigType()