Class DataExistsReply
java.lang.Object
org.opendaylight.controller.cluster.datastore.messages.VersionedExternalizableMessage
org.opendaylight.controller.cluster.datastore.messages.DataExistsReply
- All Implemented Interfaces:
Externalizable
,Serializable
,SerializableMessage
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
static DataExistsReply
fromSerializable
(Object serializable) static boolean
isSerializedType
(Object message) void
void
Methods inherited from class org.opendaylight.controller.cluster.datastore.messages.VersionedExternalizableMessage
getStreamVersion, getVersion, toSerializable, toString
-
Constructor Details
-
DataExistsReply
public DataExistsReply() -
DataExistsReply
public DataExistsReply(boolean exists, short version)
-
-
Method Details
-
exists
public boolean exists() -
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classVersionedExternalizableMessage
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classVersionedExternalizableMessage
- Throws:
IOException
-
fromSerializable
-
isSerializedType
-