public class KvPingRequest extends NoopRequest implements TargetedRequest
Constructor and Description |
---|
KvPingRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
CollectionIdentifier identifier,
NodeIdentifier target) |
Modifier and Type | Method and Description |
---|---|
KvPingResponse |
decode(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf response,
KeyValueChannelContext ctx)
Decode the encoded response into its message representation.
|
Map<String,Object> |
serviceContext()
Returns contextual information for each individual service.
|
NodeIdentifier |
target()
The target where this request must be dispatched to.
|
encode, idempotent
bucket, collectionIdentifier, encodedKeyWithCollection, key, nextOpaque, opaque, operationId, partition, partition, serviceType
absoluteTimeout, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, internalSpan, response, retryStrategy, succeed, succeeded, timeout, timeoutElapsed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
absoluteTimeout, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, internalSpan, response, retryStrategy, succeed, succeeded, timeout, timeoutElapsed
public KvPingRequest(Duration timeout, CoreContext ctx, RetryStrategy retryStrategy, CollectionIdentifier identifier, NodeIdentifier target)
public KvPingResponse decode(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf response, KeyValueChannelContext ctx)
KeyValueRequest
decode
in interface KeyValueRequest<NoopResponse>
decode
in class NoopRequest
response
- the response to decode.public NodeIdentifier target()
TargetedRequest
target
in interface TargetedRequest
public Map<String,Object> serviceContext()
Request
serviceContext
in interface Request<NoopResponse>
serviceContext
in class BaseKeyValueRequest<NoopResponse>
Copyright © 2020 Couchbase, Inc.. All rights reserved.