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.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 @NonNull SkipTransactionsPayload
create
(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity) protected org.opendaylight.controller.cluster.datastore.persisted.ST
externalizableProxy
(byte[] serialized) protected int
@NonNull ImmutableUnsignedLongSet
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 @NonNull SkipTransactionsPayload create(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity) -
getTransactionIds
-
externalizableProxy
protected org.opendaylight.controller.cluster.datastore.persisted.ST externalizableProxy(byte[] serialized) - Specified by:
externalizableProxy
in classAbstractIdentifiablePayload<LocalHistoryIdentifier>
-
externalizableProxySize
protected int externalizableProxySize()- Specified by:
externalizableProxySize
in classAbstractIdentifiablePayload<LocalHistoryIdentifier>
-