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.protected
AbstractProxy
(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 void
readExternal
(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 T
readIdentifier
(@NonNull DataInput in) Deprecated, for removal: This API element is subject to removal in a future version.final Object
Deprecated, 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, wait
Methods 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.SerialForm
Return the serial form of this object contents, corresponding toAbstractIdentifiablePayload.serialized
.- Specified by:
bytes
in 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.SerialForm
Restore state from specified serialized form.- Specified by:
readExternal
in 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.SerialForm
Resolve this proxy to an actualAbstractIdentifiablePayload
.- Specified by:
readResolve
in 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.
-