Package com.couchbase.client.core
Class RequestEvent
java.lang.Object
com.couchbase.client.core.RequestEvent
A pre allocated event which carries a
CouchbaseRequest
and associated information.- Since:
- 1.0
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetRequest
(CouchbaseRequest request) Set the new request as a payload for this event.toString()
-
Constructor Details
-
RequestEvent
public RequestEvent()
-
-
Method Details
-
setRequest
Set the new request as a payload for this event.- Parameters:
request
- the request to override.- Returns:
- the
RequestEvent
for method chaining.
-
getRequest
-
toString
-