Class AbstractIdentifiablePayload.AbstractProxy<T extends Identifier>
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload.AbstractProxy<T>
-
- All Implemented Interfaces:
Externalizable
,Serializable
- Enclosing class:
- AbstractIdentifiablePayload<T extends Identifier>
protected abstract static class AbstractIdentifiablePayload.AbstractProxy<T extends Identifier> extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractProxy()
protected
AbstractProxy(byte[] serialized)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @NonNull Identifiable<T>
createObject(@NonNull T identifier, byte @NonNull [] serialized)
void
readExternal(ObjectInput in)
protected abstract @NonNull T
readIdentifier(@NonNull DataInput in)
protected Object
readResolve()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
writeExternal
public final void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public final void readExternal(ObjectInput in) throws IOException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
readResolve
protected final Object readResolve()
-
readIdentifier
protected abstract @NonNull T readIdentifier(@NonNull DataInput in) throws IOException
- Throws:
IOException
-
createObject
protected abstract @NonNull Identifiable<T> createObject(@NonNull T identifier, byte @NonNull [] serialized)
-
-