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

dataMergingValue

protected Data dataMergingValue

source

protected String source

mapName

protected String mapName

caller

protected Address caller

eventType

protected int eventType
Constructor Detail

EntryEventData

public EntryEventData()

EntryEventData

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

EntryEventData

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

getDataKey

public Data getDataKey()

getDataNewValue

public Data getDataNewValue()

getDataOldValue

public Data getDataOldValue()

getDataMergingValue

public Data getDataMergingValue()

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.