com.hazelcast.map.impl
Class MapEventData

java.lang.Object
  extended by com.hazelcast.map.impl.MapEventData
All Implemented Interfaces:
EventData, DataSerializable

public class MapEventData
extends Object

Map wide event's data.


Field Summary
protected  int numberOfEntries
           
 
Constructor Summary
MapEventData()
           
MapEventData(String source, String mapName, Address caller, int eventType, int numberOfEntries)
           
 
Method Summary
 Address getCaller()
           
 int getEventType()
           
 String getMapName()
           
 int getNumberOfEntries()
           
 String getSource()
           
 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberOfEntries

protected int numberOfEntries
Constructor Detail

MapEventData

public MapEventData()

MapEventData

public MapEventData(String source,
                    String mapName,
                    Address caller,
                    int eventType,
                    int numberOfEntries)
Method Detail

getNumberOfEntries

public int getNumberOfEntries()

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

toString

public String toString()

getSource

public String getSource()
Specified by:
getSource in interface EventData

getMapName

public String getMapName()
Specified by:
getMapName in interface EventData

getCaller

public Address getCaller()
Specified by:
getCaller in interface EventData

getEventType

public int getEventType()
Specified by:
getEventType in interface EventData


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