public class RequestEvent
extends java.lang.Object
A pre allocated event which carries a CouchbaseRequest
and associated information.
Constructor and Description |
---|
RequestEvent() |
Modifier and Type | Method and Description |
---|---|
CouchbaseRequest |
getRequest() |
RequestEvent |
setRequest(CouchbaseRequest request)
Set the new request as a payload for this event.
|
public RequestEvent setRequest(CouchbaseRequest request)
Set the new request as a payload for this event.
request
- the request to override.RequestEvent
for method chaining.public CouchbaseRequest getRequest()