com.hazelcast.multimap.impl
Class MultiMapRecord

java.lang.Object
  extended by com.hazelcast.multimap.impl.MultiMapRecord
All Implemented Interfaces:
DataSerializable

public class MultiMapRecord
extends Object
implements DataSerializable


Constructor Summary
MultiMapRecord()
           
MultiMapRecord(long recordId, Object object)
           
MultiMapRecord(Object object)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getObject()
           
 long getRecordId()
           
 int hashCode()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 void setObject(Object object)
           
 void setRecordId(long recordId)
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMapRecord

public MultiMapRecord()

MultiMapRecord

public MultiMapRecord(Object object)

MultiMapRecord

public MultiMapRecord(long recordId,
                      Object object)
Method Detail

getRecordId

public long getRecordId()

setRecordId

public void setRecordId(long recordId)

getObject

public Object getObject()

setObject

public void setObject(Object object)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.