com.hazelcast.spi.impl
Class PortableEntryEvent

java.lang.Object
  extended by com.hazelcast.spi.impl.PortableEntryEvent
All Implemented Interfaces:
Portable

public class PortableEntryEvent
extends Object
implements Portable


Constructor Summary
PortableEntryEvent()
           
PortableEntryEvent(Data key, Data value, Data oldValue, EntryEventType eventType, String uuid)
           
PortableEntryEvent(EntryEventType eventType, String uuid, int numberOfAffectedEntries)
           
 
Method Summary
 int getClassId()
          Returns class identifier for this portable class.
 EntryEventType getEventType()
           
 int getFactoryId()
          Returns PortableFactory id for this portable class
 Data getKey()
           
 int getNumberOfAffectedEntries()
           
 Data getOldValue()
           
 String getUuid()
           
 Data getValue()
           
 void readPortable(PortableReader reader)
          Read portable fields using PortableReader
 void writePortable(PortableWriter writer)
          Serialize this portable object using PortableWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableEntryEvent

public PortableEntryEvent()

PortableEntryEvent

public PortableEntryEvent(Data key,
                          Data value,
                          Data oldValue,
                          EntryEventType eventType,
                          String uuid)

PortableEntryEvent

public PortableEntryEvent(EntryEventType eventType,
                          String uuid,
                          int numberOfAffectedEntries)
Method Detail

getKey

public Data getKey()

getValue

public Data getValue()

getOldValue

public Data getOldValue()

getEventType

public EntryEventType getEventType()

getUuid

public String getUuid()

getNumberOfAffectedEntries

public int getNumberOfAffectedEntries()

getFactoryId

public int getFactoryId()
Description copied from interface: Portable
Returns PortableFactory id for this portable class

Specified by:
getFactoryId in interface Portable
Returns:
factory id

getClassId

public int getClassId()
Description copied from interface: Portable
Returns class identifier for this portable class. Class id should be unique per PortableFactory.

Specified by:
getClassId in interface Portable
Returns:
class id

writePortable

public void writePortable(PortableWriter writer)
                   throws IOException
Description copied from interface: Portable
Serialize this portable object using PortableWriter

Specified by:
writePortable in interface Portable
Parameters:
writer - PortableWriter
Throws:
IOException

readPortable

public void readPortable(PortableReader reader)
                  throws IOException
Description copied from interface: Portable
Read portable fields using PortableReader

Specified by:
readPortable in interface Portable
Parameters:
reader - PortableReader
Throws:
IOException


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