@InterfaceStability.Experimental @InterfaceAudience.Private public class StreamRequestResponse extends AbstractDCPResponse
Constructor and Description |
---|
StreamRequestResponse(ResponseStatus status,
List<FailoverLogEntry> failoverLog,
long rollbackToSequenceNumber,
CouchbaseRequest request,
DCPConnection connection)
Sets the required properties for the response.
|
Modifier and Type | Method and Description |
---|---|
DCPConnection |
connection() |
List<FailoverLogEntry> |
failoverLog() |
long |
rollbackToSequenceNumber() |
partition, partition
creationTime, request, status, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
request, status
creationTime
public StreamRequestResponse(ResponseStatus status, List<FailoverLogEntry> failoverLog, long rollbackToSequenceNumber, CouchbaseRequest request, DCPConnection connection)
Sets the required properties for the response.
status
- the status of the response.connection
- reference to enclosing logical connectionfailoverLog
- the list of failover log entries or null if response status is not successrollbackToSequenceNumber
- if server instruct to rollback client’s state, this field contains sequence number to userequest
- public DCPConnection connection()
public List<FailoverLogEntry> failoverLog()
public long rollbackToSequenceNumber()
Copyright © 2016 Couchbase, Inc.. All rights reserved.