Class SkipTransactionsPayload
java.lang.Object
org.opendaylight.controller.cluster.raft.messages.Payload
org.opendaylight.controller.cluster.raft.spi.AbstractStateCommand
org.opendaylight.controller.cluster.raft.messages.IdentifiablePayload<LocalHistoryIdentifier>
org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload<LocalHistoryIdentifier>
org.opendaylight.controller.cluster.datastore.persisted.SkipTransactionsPayload
- All Implemented Interfaces:
Serializable,StateCommand,StateMachineCommand,Identifiable<LocalHistoryIdentifier>,Immutable
public final class SkipTransactionsPayload
extends AbstractIdentifiablePayload<LocalHistoryIdentifier>
Payload persisted when a local history is instructed some transaction identifiers, i.e. the frontend has used them
for other purposes. It contains a
LocalHistoryIdentifier and a list of transaction identifiers within that
local history.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
AbstractIdentifiablePayload.SerialFormNested 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 @NonNull SkipTransactionsPayloadcreate(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity) protected org.opendaylight.controller.cluster.datastore.persisted.STexternalizableProxy(byte[] serialized) protected int@NonNull ImmutableUnsignedLongSetMethods inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
externalizableProxySize, getIdentifier, serialized, serializedSize, size, toString, writeReplaceMethods inherited from class org.opendaylight.controller.cluster.raft.messages.Payload
toSerialFormMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opendaylight.controller.cluster.raft.spi.StateMachineCommand
toSerialForm
-
Method Details
-
create
public static @NonNull SkipTransactionsPayload create(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity) -
getTransactionIds
-
externalizableProxy
protected org.opendaylight.controller.cluster.datastore.persisted.ST externalizableProxy(byte[] serialized) - Specified by:
externalizableProxyin classAbstractIdentifiablePayload<LocalHistoryIdentifier>
-
externalizableProxySize
protected int externalizableProxySize()- Specified by:
externalizableProxySizein classAbstractIdentifiablePayload<LocalHistoryIdentifier>
-