Class LocalHistoryFailure
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.concepts.Message<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.Response<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.RequestFailure<LocalHistoryIdentifier,LocalHistoryFailure>
-
- org.opendaylight.controller.cluster.access.commands.LocalHistoryFailure
-
- All Implemented Interfaces:
Serializable
,Immutable
,MutationBehaviour<Immutable>
@Beta public final class LocalHistoryFailure extends RequestFailure<LocalHistoryIdentifier,LocalHistoryFailure>
GenericRequestFailure
involving aLocalHistoryRequest
.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LocalHistoryFailure
cloneAsVersion(ABIVersion targetVersion)
Create a copy of this message which will serialize to a stream corresponding to the specified method.protected org.opendaylight.controller.cluster.access.commands.LocalHistoryFailure.SerialForm
externalizableProxy(ABIVersion version)
Instantiate a serialization proxy for this object for the target ABI version.-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.RequestFailure
addToStringAttributes, getCause, isHardFailure
-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
-
-
-
Method Detail
-
cloneAsVersion
protected LocalHistoryFailure cloneAsVersion(ABIVersion targetVersion)
Description copied from class:Message
Create a copy of this message which will serialize to a stream corresponding to the specified method. This method should be implemented by the concrete final message class and should invoke the equivalent ofMessage(Message, ABIVersion)
.- Specified by:
cloneAsVersion
in classMessage<LocalHistoryIdentifier,LocalHistoryFailure>
- Parameters:
targetVersion
- target ABI version- Returns:
- A message with the specified serialization stream
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.LocalHistoryFailure.SerialForm externalizableProxy(ABIVersion version)
Description copied from class:Message
Instantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatibleABIVersion
s. This method should never fail, as any compatibility checks should have been done byMessage.cloneAsVersion(ABIVersion)
.- Specified by:
externalizableProxy
in classRequestFailure<LocalHistoryIdentifier,LocalHistoryFailure>
- Parameters:
version
- Requested ABI version- Returns:
- Proxy for this object
-
-