Class 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 a AbstractClientConnection. Tracks the request, the associated callback and time when the request was first enqueued.
    Author:
    Robert Varga
    • 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()