Package org.opendaylight.controller.cluster.access.client
This package contains the baseline client infrastructure required to implement clients accessing the data store.
- Author:
- Robert Varga
-
Interface Summary Interface Description ClientActorBehavior.ConnectionConnectCohort Connection reconnect cohort, driven by this class.ClientActorConfig Interface for client actor configuration parameters.InternalCommand<T extends BackendInfo> This interface is used to pass the unit of work via the actors mailbox. -
Class Summary Class Description AbstractClientActor Frontend actor which takes care of persisting generations and creates an appropriate ClientIdentifier.AbstractClientActorBehavior<C extends org.opendaylight.controller.cluster.access.client.AbstractClientActorContext> Base behavior attached toAbstractClientActor
.AbstractClientConnection<T extends BackendInfo> Base class for a connection to the backend.BackendInfo Basic information about how to talk to the backend.BackendInfoResolver<T extends BackendInfo> Caching resolver which resolves a cookie to a leaderActorRef
.ClientActorBehavior<T extends BackendInfo> A behavior, which handles messages sent to aAbstractClientActor
.ClientActorContext An actor context associated with thisAbstractClientActor
.ConnectedClientConnection<T extends BackendInfo> ConnectingClientConnection<T extends BackendInfo> ConnectionEntry Single entry in aAbstractClientConnection
.InversibleLock A lock implementation which allows users to perform optimistic reads and validate them in a fashion similar toStampedLock
.ReconnectForwarder Forwarder class responsible for routing requests from the previous connection incarnation back to the originator, which can then convert them as appropriate.ReconnectingClientConnection<T extends BackendInfo> AnAbstractClientConnection
which is being reconnected after having timed out. -
Exception Summary Exception Description InversibleLockException Exception thrown fromInversibleLock.optimisticRead()
and can be used to wait for the racing write to complete usingInversibleLockException.awaitResolution()
.RequestTimeoutException