Class ConnectionEntry
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.client.ConnectionEntry
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Immutable>
@Beta public class ConnectionEntry extends Object implements org.opendaylight.yangtools.concepts.Immutable
Single entry in aAbstractClientConnection. Tracks the request, the associated callback and time when the request was first enqueued.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(org.opendaylight.controller.cluster.access.concepts.Response<?,?> response)Consumer<org.opendaylight.controller.cluster.access.concepts.Response<?,?>>getCallback()longgetEnqueuedTicks()org.opendaylight.controller.cluster.access.concepts.Request<?,?>getRequest()StringtoString()
-
-
-
Method Detail
-
getCallback
public final Consumer<org.opendaylight.controller.cluster.access.concepts.Response<?,?>> getCallback()
-
getRequest
public final org.opendaylight.controller.cluster.access.concepts.Request<?,?> getRequest()
-
complete
public void complete(org.opendaylight.controller.cluster.access.concepts.Response<?,?> response)
-
getEnqueuedTicks
public final long getEnqueuedTicks()
-
-