com.hazelcast.spi
Class DefaultObjectNamespace
java.lang.Object
com.hazelcast.spi.DefaultObjectNamespace
- All Implemented Interfaces:
- DataSerializable, ObjectNamespace
public final class DefaultObjectNamespace
- extends Object
- implements ObjectNamespace
Default ObjectNamespace
implementation.
DefaultObjectNamespace
public DefaultObjectNamespace()
DefaultObjectNamespace
public DefaultObjectNamespace(String serviceName,
String objectName)
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in interface ObjectNamespace
getObjectName
public String getObjectName()
- Specified by:
getObjectName
in interface ObjectNamespace
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.