Class PurgeTransactionPayload
java.lang.Object
org.opendaylight.controller.cluster.raft.messages.Payload
org.opendaylight.controller.cluster.raft.spi.AbstractStateCommand
org.opendaylight.controller.cluster.raft.messages.IdentifiablePayload<TransactionIdentifier>
org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload<TransactionIdentifier>
org.opendaylight.controller.cluster.datastore.persisted.PurgeTransactionPayload
- All Implemented Interfaces:
Serializable
,StateCommand
,StateMachineCommand
,Identifiable<TransactionIdentifier>
,Immutable
public final class PurgeTransactionPayload
extends AbstractIdentifiablePayload<TransactionIdentifier>
Payload persisted when a transaction is purged from the frontend. It contains the transaction identifier.
- Author:
- Robert Varga
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
AbstractIdentifiablePayload.SerialForm
Nested classes/interfaces inherited from interface org.opendaylight.controller.cluster.raft.spi.StateMachineCommand
StateMachineCommand.Reader<T extends StateMachineCommand>, StateMachineCommand.Support<T extends StateMachineCommand>, StateMachineCommand.Writer<T extends StateMachineCommand>
-
Method Summary
Modifier and TypeMethodDescriptionstatic PurgeTransactionPayload
create
(TransactionIdentifier transactionId, int initialSerializedBufferCapacity) protected org.opendaylight.controller.cluster.datastore.persisted.PT
externalizableProxy
(byte[] serialized) protected int
Methods inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
externalizableProxySize, getIdentifier, serialized, serializedSize, size, toString, writeReplace
Methods inherited from class org.opendaylight.controller.cluster.raft.messages.Payload
toSerialForm
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.controller.cluster.raft.spi.StateMachineCommand
toSerialForm
-
Method Details
-
create
public static PurgeTransactionPayload create(TransactionIdentifier transactionId, int initialSerializedBufferCapacity) -
externalizableProxy
protected org.opendaylight.controller.cluster.datastore.persisted.PT externalizableProxy(byte[] serialized) - Specified by:
externalizableProxy
in classAbstractIdentifiablePayload<TransactionIdentifier>
-
externalizableProxySize
protected int externalizableProxySize()- Specified by:
externalizableProxySize
in classAbstractIdentifiablePayload<TransactionIdentifier>
-