com.hazelcast.multimap.impl.operations
Class MultiMapResponse

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

public class MultiMapResponse
extends Object
implements DataSerializable


Constructor Summary
MultiMapResponse()
           
MultiMapResponse(Collection collection, MultiMapConfig.ValueCollectionType collectionType)
           
 
Method Summary
 Collection getCollection()
           
 long getNextRecordId()
           
 Collection getObjectCollection(NodeEngine nodeEngine)
           
 Collection<MultiMapRecord> getRecordCollection(NodeEngine nodeEngine)
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 MultiMapResponse setNextRecordId(long recordId)
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMapResponse

public MultiMapResponse()

MultiMapResponse

public MultiMapResponse(Collection collection,
                        MultiMapConfig.ValueCollectionType collectionType)
Method Detail

getNextRecordId

public long getNextRecordId()

setNextRecordId

public MultiMapResponse setNextRecordId(long recordId)

getCollection

public Collection getCollection()

getObjectCollection

public Collection getObjectCollection(NodeEngine nodeEngine)

getRecordCollection

public Collection<MultiMapRecord> getRecordCollection(NodeEngine nodeEngine)

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.