public class PingRequest extends AbstractCouchbaseRequest implements QueryRequest, PrelocatedRequest, DiagnosticRequest
Constructor and Description |
---|
PingRequest(InetAddress sendTo,
String bucket,
String password) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSpanSet(io.opentracing.Span span)
Use this method to add custom span values on insert.
|
SocketAddress |
localSocket() |
PingRequest |
localSocket(SocketAddress socket) |
SocketAddress |
remoteSocket() |
PingRequest |
remoteSocket(SocketAddress socket) |
InetAddress |
sendTo()
The
node to send this request to, or null to use default node location process . |
bucket, complete, creationTime, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
creationTime
public PingRequest(InetAddress sendTo, String bucket, String password)
protected void afterSpanSet(io.opentracing.Span span)
AbstractCouchbaseRequest
Use this method to add custom span values on insert.
afterSpanSet
in class AbstractCouchbaseRequest
public SocketAddress localSocket()
localSocket
in interface DiagnosticRequest
public PingRequest localSocket(SocketAddress socket)
localSocket
in interface DiagnosticRequest
public SocketAddress remoteSocket()
remoteSocket
in interface DiagnosticRequest
public PingRequest remoteSocket(SocketAddress socket)
remoteSocket
in interface DiagnosticRequest
public InetAddress sendTo()
PrelocatedRequest
The node
to send this request to, or null to use default node location process
.
sendTo
in interface PrelocatedRequest
Copyright © 2018 Couchbase, Inc.. All rights reserved.