Class ProtostellarRequestBehaviour

java.lang.Object
com.couchbase.client.core.retry.ProtostellarRequestBehaviour

@Internal public class ProtostellarRequestBehaviour extends Object
Determines what to do with a request.

Exactly one of these conditions must be true:

- retryDuration is non-null, indicating the operation should be retried - exception is non-null, indicating the operation should be failed to the user - returnNull is true, indicating the operation should succeed and return null to the user - if all the above are false, a non-null success (operation-dependent) is returned to the user