com.couchbase.client.vbucket.config
Interface Config

All Known Implementing Classes:
CacheConfig, DefaultConfig

public interface Config

A Config.


Method Summary
 ConfigDifference compareTo(Config config)
           
 int foundIncorrectMaster(int vbucket, int wrongServer)
           
 ConfigType getConfigType()
           
 java.util.List<java.net.URL> getCouchServers()
           
 net.spy.memcached.HashAlgorithm getHashAlgorithm()
           
 int getMaster(int vbucketIndex)
           
 int getReplica(int vbucketIndex, int replicaIndex)
           
 int getReplicasCount()
           
 java.lang.String getServer(int serverIndex)
           
 java.util.List<java.lang.String> getServers()
           
 int getServersCount()
           
 int getVbucketByKey(java.lang.String key)
           
 java.util.List<VBucket> getVbuckets()
           
 int getVbucketsCount()
           
 

Method Detail

getReplicasCount

int getReplicasCount()

getVbucketsCount

int getVbucketsCount()

getServersCount

int getServersCount()

getHashAlgorithm

net.spy.memcached.HashAlgorithm getHashAlgorithm()

getServer

java.lang.String getServer(int serverIndex)

getVbucketByKey

int getVbucketByKey(java.lang.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

java.util.List<java.lang.String> getServers()

getCouchServers

java.util.List<java.net.URL> getCouchServers()

getVbuckets

java.util.List<VBucket> getVbuckets()

getConfigType

ConfigType getConfigType()


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.