@InterfaceStability.Experimental @InterfaceAudience.Private @Deprecated public abstract class AbstractDCPRequest extends AbstractCouchbaseRequest implements DCPRequest
Default implementation of DCPRequest.
| Modifier and Type | Field and Description |
|---|---|
protected static short |
DEFAULT_PARTITION
Deprecated.
|
| Constructor and Description |
|---|
AbstractDCPRequest(String bucket,
String password)
Deprecated.
Creates a new
AbstractDCPRequest. |
AbstractDCPRequest(String bucket,
String username,
String password)
Deprecated.
Creates a new
AbstractDCPRequest. |
AbstractDCPRequest(String bucket,
String username,
String password,
rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
Deprecated.
|
AbstractDCPRequest(String bucket,
String password,
rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
short |
partition()
Deprecated.
The partition (vBucket) to use for this request.
|
DCPRequest |
partition(short partition)
Deprecated.
Set the partition ID.
|
String |
toString()
Deprecated.
|
bucket, creationTime, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, usernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbucket, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, usernamecreationTimepublic AbstractDCPRequest(String bucket, String password)
Creates a new AbstractDCPRequest.
bucket - the bucket of the document.password - the optional password of the bucket.public AbstractDCPRequest(String bucket, String username, String password)
Creates a new AbstractDCPRequest.
bucket - the bucket of the document.username - the user authorized for bucket access.password - the optional password of the user.public AbstractDCPRequest(String bucket, String password, rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
public AbstractDCPRequest(String bucket, String username, String password, rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
public short partition()
DCPRequestThe partition (vBucket) to use for this request.
partition in interface DCPRequestpublic DCPRequest partition(short partition)
DCPRequestSet the partition ID.
partition in interface DCPRequestpartition - the id of the partition.DCPRequest for proper chaining.public String toString()
toString in class AbstractCouchbaseRequestCopyright © 2017 Couchbase, Inc.. All rights reserved.