Package com.couchbase.client.core.msg.kv
Class GetAndLockResponse
- java.lang.Object
-
- com.couchbase.client.core.msg.BaseResponse
-
- com.couchbase.client.core.msg.kv.KeyValueBaseResponse
-
- com.couchbase.client.core.msg.kv.GetAndLockResponse
-
- All Implemented Interfaces:
Response
public class GetAndLockResponse extends KeyValueBaseResponse
Represents the response of aGetAndLockRequest
.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
cas()
Returns the CAS value of the document at the time of the fetch.byte[]
content()
Returns the content, but might be empty or null.int
flags()
Returns the flag for this document if success.-
Methods inherited from class com.couchbase.client.core.msg.kv.KeyValueBaseResponse
flexibleExtras
-
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status, toString
-
-