@InterfaceStability.Experimental @InterfaceAudience.Private public interface DCPRequest extends CouchbaseRequest
Common interface for all DCP requests.
Note that they can flow in both directions. For example, ConnectionType.CONSUMER
connection, means that messages will flow from server to client.
Modifier and Type | Method and Description |
---|---|
short |
partition()
The partition (vBucket) to use for this request.
|
DCPRequest |
partition(short id)
Set the partition ID.
|
bucket, incrementRetryCount, observable, password
creationTime
short partition()
The partition (vBucket) to use for this request.
DCPRequest partition(short id)
Set the partition ID.
id
- the id of the partition.DCPRequest
for proper chaining.Copyright © 2014 Couchbase, Inc.