public class PingRequest extends AbstractCouchbaseRequest implements AnalyticsRequest, PrelocatedRequest, DiagnosticRequest
Constructor and Description |
---|
PingRequest(InetAddress sendTo,
String bucket,
String password) |
Modifier and Type | Method and Description |
---|---|
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, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, succeed, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, subscriber, succeed, username
creationTime
public PingRequest(InetAddress sendTo, String bucket, String password)
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.