@InterfaceStability.Experimental @InterfaceAudience.Private @Deprecated public abstract class AbstractDCPMessage extends AbstractDCPRequest implements DCPMessage
Default implementation of DCPRequest
.
DEFAULT_PARTITION
Constructor and Description |
---|
AbstractDCPMessage(int totalBodyLength,
short partition,
String key,
String bucket,
String password)
Deprecated.
Creates a new
AbstractDCPMessage . |
AbstractDCPMessage(int totalBodyLength,
short partition,
String key,
String bucket,
String username,
String password)
Deprecated.
Creates a new
AbstractDCPMessage . |
AbstractDCPMessage(int totalBodyLength,
short partition,
String key,
String bucket,
String username,
String password,
rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
key()
Deprecated.
|
int |
totalBodyLength()
Deprecated.
|
partition, partition, toString
bucket, creationTime, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
partition
bucket, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, username
creationTime
public AbstractDCPMessage(int totalBodyLength, short partition, String key, String bucket, String password)
Creates a new AbstractDCPMessage
.
totalBodyLength
- partition
- key
- bucket
- the bucket of the document.password
- the optional password of the bucket.public AbstractDCPMessage(int totalBodyLength, short partition, String key, String bucket, String username, String password)
Creates a new AbstractDCPMessage
.
totalBodyLength
- partition
- key
- bucket
- the bucket of the document.username
- the user authorized for bucket access.password
- the password of the user.public AbstractDCPMessage(int totalBodyLength, short partition, String key, String bucket, String username, String password, rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable)
public int totalBodyLength()
totalBodyLength
in interface DCPMessage
public String key()
key
in interface DCPMessage
Copyright © 2017 Couchbase, Inc.. All rights reserved.