net.spy.memcached.vbucket.config
Class Pool

java.lang.Object
  extended by net.spy.memcached.vbucket.config.Pool

public class Pool
extends Object

Pool represents a collection of buckets


Constructor Summary
Pool(String name, URI uri, URI streamingUri)
           
 
Method Summary
 URI getBucketsUri()
           
 String getName()
           
 Map<String,Bucket> getROBuckets()
           
 URI getStreamingUri()
           
 URI getUri()
           
 boolean hasBucket(String bucketName)
           
 void replaceBuckets(Map<String,Bucket> replacingMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pool

public Pool(String name,
            URI uri,
            URI streamingUri)
Method Detail

getName

public String getName()

getUri

public URI getUri()

getStreamingUri

public URI getStreamingUri()

getROBuckets

public Map<String,Bucket> getROBuckets()

getBucketsUri

public URI getBucketsUri()

replaceBuckets

public void replaceBuckets(Map<String,Bucket> replacingMap)

hasBucket

public boolean hasBucket(String bucketName)