com.couchbase.client.vbucket.config
Class Pool

java.lang.Object
  extended by com.couchbase.client.vbucket.config.Pool

public class Pool
extends java.lang.Object

Pool represents a collection of buckets.


Constructor Summary
Pool(java.lang.String name, java.net.URI uri, java.net.URI streamingUri)
           
 
Method Summary
 java.net.URI getBucketsUri()
           
 java.lang.String getName()
           
 java.util.Map<java.lang.String,Bucket> getROBuckets()
           
 java.net.URI getStreamingUri()
           
 java.net.URI getUri()
           
 boolean hasBucket(java.lang.String bucketName)
           
 void replaceBuckets(java.util.Map<java.lang.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(java.lang.String name,
            java.net.URI uri,
            java.net.URI streamingUri)
Method Detail

getName

public java.lang.String getName()

getUri

public java.net.URI getUri()

getStreamingUri

public java.net.URI getStreamingUri()

getROBuckets

public java.util.Map<java.lang.String,Bucket> getROBuckets()

getBucketsUri

public java.net.URI getBucketsUri()

replaceBuckets

public void replaceBuckets(java.util.Map<java.lang.String,Bucket> replacingMap)

hasBucket

public boolean hasBucket(java.lang.String bucketName)


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