Package com.couchbase.client.java.kv
Class GetAndTouchOptions
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions<GetAndTouchOptions>
-
- com.couchbase.client.java.kv.GetAndTouchOptions
-
public class GetAndTouchOptions extends CommonOptions<GetAndTouchOptions>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGetAndTouchOptions.Built-
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAndTouchOptions.Builtbuild()static GetAndTouchOptionsgetAndTouchOptions()GetAndTouchOptionstranscoder(Transcoder transcoder)Allows to specify a custom transcoder that is used to decode the content of the result.-
Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
-
-
-
Method Detail
-
getAndTouchOptions
public static GetAndTouchOptions getAndTouchOptions()
-
transcoder
public GetAndTouchOptions transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.- Parameters:
transcoder- the custom transcoder that should be used for decoding.- Returns:
- the
GetOptionsto allow method chaining.
-
build
@Internal public GetAndTouchOptions.Built build()
-
-