public abstract class Invalidation extends Object implements IMapEvent, IdentifiedDataSerializable
Constructor and Description |
---|
Invalidation() |
Invalidation(String dataStructureName) |
Invalidation(String dataStructureName,
String sourceUuid,
UUID partitionUuid,
long sequence) |
Modifier and Type | Method and Description |
---|---|
EntryEventType |
getEventType()
Return the event type
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
Data |
getKey() |
Member |
getMember()
Returns the member that fired this event.
|
String |
getName()
Returns the name of the map for this event.
|
UUID |
getPartitionUuid() |
long |
getSequence() |
String |
getSourceUuid() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId
public Invalidation()
public Invalidation(String dataStructureName)
public final UUID getPartitionUuid()
public final String getSourceUuid()
public final long getSequence()
public Data getKey()
public final String getName()
IMapEvent
public Member getMember()
IMapEvent
public EntryEventType getEventType()
IMapEvent
getEventType
in interface IMapEvent
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.