Package com.couchbase.client.java.kv
Class GetReplicaResult
java.lang.Object
com.couchbase.client.java.kv.GetResult
com.couchbase.client.java.kv.GetReplicaResult
Extends GetResult to include additional information for get-from-replica style calls.
- Since:
- 3.0.0
- 
Field SummaryFields inherited from class com.couchbase.client.java.kv.GetResultcontent, flags, transcoder
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic GetReplicaResultfrom(CoreGetResult get, Transcoder transcoder) static GetReplicaResultfrom(ReplicaHelper.GetReplicaResponse response, Transcoder transcoder) inthashCode()booleanReturns whether the replica that returned this result was the replica or the active.toString()Methods inherited from class com.couchbase.client.java.kv.GetResultcas, contentAs, contentAs, contentAsArray, contentAsBytes, contentAsObject, expiry, expiryTime
- 
Method Details- 
from@Internal public static GetReplicaResult from(ReplicaHelper.GetReplicaResponse response, Transcoder transcoder) 
- 
from
- 
isReplicapublic boolean isReplica()Returns whether the replica that returned this result was the replica or the active.
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-