Interface PrelocatedRequest
-
- All Superinterfaces:
CouchbaseMessage
,CouchbaseRequest
- All Known Implementing Classes:
AnalyticsQueryResultRequest
,AnalyticsQueryStatusRequest
,GenericAnalyticsRequest
,GenericQueryRequest
,PingRequest
,PingRequest
,PingRequest
,PingRequest
,RawAnalyticsRequest
,RawQueryRequest
public interface PrelocatedRequest extends CouchbaseRequest
ACouchbaseRequest
that can be targeted at a specific node through the corresponding hostname, shortcutting the dispatch usually performed by aLocator
.. Note that only some types of services perform this user-specified dispatch.- Since:
- 1.2.7
- Author:
- Simon Baslé
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
sendTo()
The hostname to send this request to, or null to use defaultnode location process
.-
Methods inherited from interface com.couchbase.client.core.message.CouchbaseMessage
creationTime
-
Methods inherited from interface com.couchbase.client.core.message.CouchbaseRequest
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
-
-
-
-
Method Detail
-
sendTo
String sendTo()
The hostname to send this request to, or null to use defaultnode location process
.- Returns:
- the address of the target node or null to revert to default dispatching.
-
-