com.hazelcast.map.impl
Class EntryEventData

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

public class EntryEventData
extends Object

An entry's event data.


Field Summary
protected  Data dataKey
           
protected  Data dataNewValue
           
protected  Data dataOldValue
           
 
Constructor Summary
EntryEventData()
           
EntryEventData(String source, String mapName, Address caller, Data dataKey, Data dataNewValue, Data dataOldValue, int eventType)
           
 
Method Summary
 Object cloneWithoutValues()
           
 Address getCaller()
           
 Data getDataKey()
           
 Data getDataNewValue()
           
 Data getDataOldValue()
           
 int getEventType()
           
 String getMapName()
           
 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

dataKey

protected Data dataKey

dataNewValue

protected Data dataNewValue

dataOldValue

protected Data dataOldValue
Constructor Detail

EntryEventData

public EntryEventData()

EntryEventData

public EntryEventData(String source,
                      String mapName,
                      Address caller,
                      Data dataKey,
                      Data dataNewValue,
                      Data dataOldValue,
                      int eventType)
Method Detail

getDataKey

public Data getDataKey()

getDataNewValue

public Data getDataNewValue()

getDataOldValue

public Data getDataOldValue()

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

cloneWithoutValues

public Object cloneWithoutValues()

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.