com.couchbase.client.vbucket.config
Class Bucket
java.lang.Object
com.couchbase.client.vbucket.config.Bucket
public class Bucket
- extends java.lang.Object
Bucket configuration bean.
Constructor Summary |
Bucket(java.lang.String name,
Config configuration,
java.net.URI streamingURI,
java.util.List<Node> nodes)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Bucket
public Bucket(java.lang.String name,
Config configuration,
java.net.URI streamingURI,
java.util.List<Node> nodes)
getName
public java.lang.String getName()
getConfig
public Config getConfig()
getStreamingURI
public java.net.URI getStreamingURI()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
isNotUpdating
public boolean isNotUpdating()
- Indicates whether or not the bucket is being monitored for updates.
- Returns:
- the isNotUpdating
setIsNotUpdating
public final void setIsNotUpdating()
- Mark this bucket as not receiving updates. This means the config
could be stale.
This is intended for internal use only.
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.