Class AbstractIdentifiablePayload.AbstractProxy<T extends Identifier>
java.lang.Object
org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload.AbstractProxy<T>
- All Implemented Interfaces:
Externalizable,Serializable,AbstractIdentifiablePayload.SerialForm
- Enclosing class:
- AbstractIdentifiablePayload<T extends Identifier>
@Deprecated(since="7.0.0",
forRemoval=true)
protected abstract static class AbstractIdentifiablePayload.AbstractProxy<T extends Identifier>
extends Object
implements AbstractIdentifiablePayload.SerialForm
Deprecated, for removal: This API element is subject to removal in a future version.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protectedAbstractProxy(byte[] serialized) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]bytes()Deprecated, for removal: This API element is subject to removal in a future version.Return the serial form of this object contents, corresponding toAbstractIdentifiablePayload.serialized.protected abstract @NonNull Identifiable<T>createObject(@NonNull T identifier, byte @NonNull [] serialized) Deprecated, for removal: This API element is subject to removal in a future version.final voidreadExternal(byte[] bytes) Deprecated, for removal: This API element is subject to removal in a future version.Restore state from specified serialized form.protected abstract @NonNull TreadIdentifier(@NonNull DataInput in) Deprecated, for removal: This API element is subject to removal in a future version.final ObjectDeprecated, for removal: This API element is subject to removal in a future version.Resolve this proxy to an actualAbstractIdentifiablePayload.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.controller.cluster.datastore.persisted.AbstractIdentifiablePayload.SerialForm
readExternal, writeExternal
-
Constructor Details
-
AbstractProxy
public AbstractProxy()Deprecated, for removal: This API element is subject to removal in a future version. -
AbstractProxy
protected AbstractProxy(byte[] serialized) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
bytes
public final byte[] bytes()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AbstractIdentifiablePayload.SerialFormReturn the serial form of this object contents, corresponding toAbstractIdentifiablePayload.serialized.- Specified by:
bytesin interfaceAbstractIdentifiablePayload.SerialForm- Returns:
- Serialized form
-
readExternal
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AbstractIdentifiablePayload.SerialFormRestore state from specified serialized form.- Specified by:
readExternalin interfaceAbstractIdentifiablePayload.SerialForm- Parameters:
bytes- Serialized form, as returned byAbstractIdentifiablePayload.SerialForm.bytes()- Throws:
IOException- when a deserialization problem occurs
-
readResolve
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AbstractIdentifiablePayload.SerialFormResolve this proxy to an actualAbstractIdentifiablePayload.- Specified by:
readResolvein interfaceAbstractIdentifiablePayload.SerialForm- Returns:
- A payload.
-
readIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
createObject
protected abstract @NonNull Identifiable<T> createObject(@NonNull T identifier, byte @NonNull [] serialized) Deprecated, for removal: This API element is subject to removal in a future version.
-