Class AddServiceRequest
- java.lang.Object
-
- com.couchbase.client.core.message.AbstractCouchbaseRequest
-
- com.couchbase.client.core.message.internal.AddServiceRequest
-
- All Implemented Interfaces:
CouchbaseMessage
,CouchbaseRequest
,InternalRequest
public class AddServiceRequest extends AbstractCouchbaseRequest implements InternalRequest
-
-
Constructor Summary
Constructors Constructor Description AddServiceRequest(ServiceType type, String bucket, String password, int port, String hostname)
AddServiceRequest(ServiceType type, String bucket, String username, String password, int port, String hostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
hostname()
int
port()
String
toString()
ServiceType
type()
-
Methods inherited from class com.couchbase.client.core.message.AbstractCouchbaseRequest
afterSpanSet, 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, username
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
AddServiceRequest
public AddServiceRequest(ServiceType type, String bucket, String password, int port, String hostname)
-
AddServiceRequest
public AddServiceRequest(ServiceType type, String bucket, String username, String password, int port, String hostname)
-
-
Method Detail
-
type
public ServiceType type()
-
hostname
public String hostname()
-
port
public int port()
-
toString
public String toString()
- Overrides:
toString
in classAbstractCouchbaseRequest
-
-