Class ConnectionEntry
java.lang.Object
org.opendaylight.controller.cluster.access.client.ConnectionEntry
- All Implemented Interfaces:
Immutable
Single entry in a
AbstractClientConnection. Tracks the request, the associated callback and time when
the request was first enqueued.-
Method Details
-
getCallback
Returns the callback.- Returns:
- the callback
-
getRequest
Returns the request.- Returns:
- the request
-
complete
Invoke the callback with specified response.- Parameters:
response- the response.
-
getEnqueuedTicks
public final long getEnqueuedTicks()Returns the logical time when this entry was first enqueued.- Returns:
- the logical time when this entry was first enqueued
-
toString
-