public class PingRequest extends AbstractCouchbaseRequest implements AnalyticsRequest, 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) |
String |
path()
Get path to construct the uri
|
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
public String path()
AnalyticsRequest
path
in interface AnalyticsRequest
Copyright © 2021 Couchbase, Inc.. All rights reserved.