Class AbstractIdentifiablePayload<T extends Identifier>
- 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<T>
-
- All Implemented Interfaces:
Serializable
,Identifiable<T>
- Direct Known Subclasses:
AbortTransactionPayload
,CloseLocalHistoryPayload
,CreateLocalHistoryPayload
,DisableTrackingPayload
,PurgeLocalHistoryPayload
,PurgeTransactionPayload
public abstract class AbstractIdentifiablePayload<T extends Identifier> extends IdentifiablePayload<T> implements Serializable
Abstract base class forPayload
s which hold a singleIdentifier
.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractIdentifiablePayload.AbstractProxy<T extends Identifier>
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @NonNull AbstractIdentifiablePayload.AbstractProxy<T>
externalizableProxy(byte @NonNull [] serialized)
T
getIdentifier()
int
size()
protected Object
writeReplace()
-
-
-
Method Detail
-
getIdentifier
public final T getIdentifier()
- Specified by:
getIdentifier
in interfaceIdentifiable<T extends Identifier>
-
writeReplace
protected final Object writeReplace()
-
externalizableProxy
protected abstract @NonNull AbstractIdentifiablePayload.AbstractProxy<T> externalizableProxy(byte @NonNull [] serialized)
-
-