Package | Description |
---|---|
org.opendaylight.controller.cluster.access.client |
This package contains the baseline client infrastructure required to implement clients accessing the data store.
|
org.opendaylight.controller.cluster.access.commands |
This package defines the messages used to interact with the CDS backend implementation.
|
org.opendaylight.controller.cluster.access.concepts |
This package defines basic concepts used to interact with the CDS backend implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestTimeoutException |
Modifier and Type | Class and Description |
---|---|
class |
ClosedTransactionException
A
RequestException indicating that the backend has received a request for a transaction which has already
been closed, either via a successful commit or abort (which is indicated via ClosedTransactionException.isSuccessful() . |
class |
DeadHistoryException
A
RequestException indicating that the backend has received a request to create a history which has already
been retired. |
class |
DeadTransactionException
A
RequestException indicating that the backend has received a request to create a transaction which has
already been purged. |
class |
NotLeaderException
General error raised when the recipient of a Request is not the correct backend to talk to.
|
class |
OutOfOrderRequestException
A
RequestException indicating that the backend has received a Request whose sequence does not match the
next expected sequence for the target. |
class |
OutOfSequenceEnvelopeException
A
RequestException indicating that the backend has received a RequestEnvelope whose sequence does not match
the next expected sequence. |
class |
UnknownHistoryException
A
RequestException indicating that the backend has received a request referencing an unknown history. |
Modifier and Type | Method and Description |
---|---|
ConnectClientFailure |
ConnectClientRequest.toRequestFailure(RequestException cause) |
LocalHistoryFailure |
LocalHistoryRequest.toRequestFailure(RequestException cause) |
TransactionFailure |
TransactionRequest.toRequestFailure(RequestException cause) |
Modifier and Type | Class and Description |
---|---|
class |
RetiredGenerationException
General error raised when the recipient of a
Request determines that the request contains
a ClientIdentifier which corresponds to an outdated generation. |
class |
RuntimeRequestException
General error raised when the recipient of a
Request fails to process a request. |
class |
UnsupportedRequestException
General error raised when the recipient of a
Request determines that it does not know how to handle
the request. |
Modifier and Type | Method and Description |
---|---|
RequestException |
RequestFailure.getCause()
Return the failure cause.
|
Modifier and Type | Method and Description |
---|---|
protected abstract C |
AbstractRequestFailureProxy.createFailure(T target,
long sequence,
RequestException failureCause) |
void |
RequestEnvelope.sendFailure(RequestException cause,
long executionTimeNanos)
Respond to this envelope with a
RequestFailure caused by specified RequestException . |
abstract RequestFailure<T,?> |
Request.toRequestFailure(RequestException cause)
Return a
RequestFailure for this request, caused by a RequestException . |
Constructor and Description |
---|
RequestFailure(T target,
long sequence,
RequestException cause) |
Copyright © 2019 OpenDaylight. All rights reserved.