public abstract class AbstractGatewayDeltaEvent extends Object implements GatewayDeltaEvent, DataSerializable
DataSerializable.Replaceable| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected String |
regionName |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGatewayDeltaEvent() |
|
AbstractGatewayDeltaEvent(String regionName,
String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromData(DataInput in)
Reads the state of this object as primitive data from the given
DataInput. |
String |
getKey() |
Region |
getRegion(Cache cache) |
String |
getRegionName() |
void |
toData(DataOutput out)
Writes the state of this object as primitive data to the given
DataOutput. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic String getRegionName()
public String getKey()
public void fromData(DataInput in) throws IOException, ClassNotFoundException
DataSerializableDataInput.fromData in interface DataSerializablein - the DataInput to read fromIOException - A problem occurs while reading from inClassNotFoundException - A class could not be loaded while reading from inpublic void toData(DataOutput out) throws IOException
DataSerializableDataOutput.
Since 5.7 it is possible for any method call to the specified DataOutput to throw
GemFireRethrowable. It should not be caught by user code. If it is it
must be rethrown.
toData in interface DataSerializableout - the DataOutput to write toIOException - A problem occurs while writing to out