public interface CouchbaseRequest extends CouchbaseMessage
High-Level marker interface for all CouchbaseRequest
s.
Modifier and Type | Method and Description |
---|---|
String |
bucket()
The associated bucket name for this request.
|
int |
incrementRetryCount()
Returns the old retry count and increments it by one.
|
long |
maxRetryDuration()
Returns the maximum retry duration for the request.
|
void |
maxRetryDuration(long duration)
Sets the maximum retry duration for the request.
|
rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> |
observable()
Get the underlying
Observable . |
String |
password()
The password associated with the bucket/ user
|
long |
retryAfter()
Gets the initial retry after time for the request.
|
void |
retryAfter(long after)
Sets the initial retry after time for the request.
|
int |
retryCount()
Returns the current retry count.
|
Delay |
retryDelay()
Returns the retry delay config
|
void |
retryDelay(Delay delay)
Sets the retry delay config
|
String |
username()
User authorized for bucket access
|
creationTime
rx.subjects.Subject<CouchbaseResponse,CouchbaseResponse> observable()
Get the underlying Observable
.
String bucket()
The associated bucket name for this request.
String username()
User authorized for bucket access
String password()
The password associated with the bucket/ user
int incrementRetryCount()
Returns the old retry count and increments it by one.
int retryCount()
Returns the current retry count.
void retryAfter(long after)
Sets the initial retry after time for the request.
after
- long retryAfter()
Gets the initial retry after time for the request.
void maxRetryDuration(long duration)
Sets the maximum retry duration for the request.
duration
- long maxRetryDuration()
Returns the maximum retry duration for the request.
void retryDelay(Delay delay)
Sets the retry delay config
delay
- Delay retryDelay()
Returns the retry delay config
Copyright © 2017 Couchbase, Inc.. All rights reserved.