Class SkipTransactionsPayload
- java.lang.Object
-
- org.opendaylight.controller.cluster.raft.protobuff.client.messages.Payload
-
- org.opendaylight.controller.cluster.raft.protobuff.client.messages.IdentifiablePayload<T>
-
- 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 aLocalHistoryIdentifier
and a list of transaction identifiers within that local history.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
AbstractIdentifiablePayload.AbstractProxy<T extends Identifier>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull SkipTransactionsPayload
create(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity)
protected org.opendaylight.controller.cluster.datastore.persisted.SkipTransactionsPayload.Proxy
externalizableProxy(byte[] serialized)
@NonNull ImmutableUnsignedLongSet
getTransactionIds()
-
Methods inherited from class org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload
getIdentifier, size, writeReplace
-
-
-
-
Method Detail
-
create
public static @NonNull SkipTransactionsPayload create(LocalHistoryIdentifier historyId, ImmutableUnsignedLongSet transactionIds, int initialSerializedBufferCapacity)
-
getTransactionIds
public @NonNull ImmutableUnsignedLongSet getTransactionIds()
-
externalizableProxy
protected org.opendaylight.controller.cluster.datastore.persisted.SkipTransactionsPayload.Proxy externalizableProxy(byte[] serialized)
- Specified by:
externalizableProxy
in classAbstractIdentifiablePayload<LocalHistoryIdentifier>
-
-