public class PingRequest extends AbstractCouchbaseRequest implements QueryRequest, PrelocatedRequest, DiagnosticRequest
Constructor and Description |
---|
PingRequest(String 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) |
String |
sendTo()
The hostname 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
protected void afterSpanSet(io.opentracing.Span span)
AbstractCouchbaseRequest
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 String sendTo()
PrelocatedRequest
node location process
.sendTo
in interface PrelocatedRequest
Copyright © 2021 Couchbase, Inc.. All rights reserved.