Package com.couchbase.client.java.kv
Class GetReplicaResult
- java.lang.Object
-
- com.couchbase.client.java.kv.GetResult
-
- com.couchbase.client.java.kv.GetReplicaResult
-
public class GetReplicaResult extends GetResult
Extends GetResult to include additional information for get-from-replica style calls.- Since:
- 3.0.0
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.java.kv.GetResult
content, flags, transcoder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GetReplicaResultfrom(ReplicaHelper.GetReplicaResponse response, Transcoder transcoder)inthashCode()booleanisReplica()Returns whether the replica that returned this result was the replica or the active.StringtoString()-
Methods inherited from class com.couchbase.client.java.kv.GetResult
cas, contentAs, contentAs, contentAsArray, contentAsBytes, contentAsObject, convertContentToString, expiry, expiryTime
-
-
-
-
Method Detail
-
from
@Internal public static GetReplicaResult from(ReplicaHelper.GetReplicaResponse response, Transcoder transcoder)
-
isReplica
public boolean isReplica()
Returns whether the replica that returned this result was the replica or the active.
-
-