com.hazelcast.spi
Class DefaultObjectNamespace

java.lang.Object
  extended by com.hazelcast.spi.DefaultObjectNamespace
All Implemented Interfaces:
DataSerializable, ObjectNamespace

public final class DefaultObjectNamespace
extends Object
implements ObjectNamespace

Default ObjectNamespace implementation.


Constructor Summary
DefaultObjectNamespace()
           
DefaultObjectNamespace(String serviceName, String objectName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getObjectName()
           
 String getServiceName()
           
 int hashCode()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultObjectNamespace

public DefaultObjectNamespace()

DefaultObjectNamespace

public DefaultObjectNamespace(String serviceName,
                              String objectName)
Method Detail

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.