Class SkipTransactionsPayload
java.lang.Object
org.opendaylight.controller.cluster.raft.messages.Payload
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
,Identifiable<LocalHistoryIdentifier>
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
-
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
-
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>
-