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
public class DataExistsReply extends VersionedExternalizableMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataExistsReply()
DataExistsReply(boolean exists, short version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
static DataExistsReply
fromSerializable(Object serializable)
static boolean
isSerializedType(Object message)
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.opendaylight.controller.cluster.datastore.messages.VersionedExternalizableMessage
getStreamVersion, getVersion, toSerializable, toString
-
-
-
-
Method Detail
-
exists
public boolean exists()
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classVersionedExternalizableMessage
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classVersionedExternalizableMessage
- Throws:
IOException
-
fromSerializable
public static DataExistsReply fromSerializable(Object serializable)
-
isSerializedType
public static boolean isSerializedType(Object message)
-
-