VMware GemFire Java API Reference
Class AbstractGatewayDeltaEvent
- java.lang.Object
-
- org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
-
- All Implemented Interfaces:
java.io.Serializable,DataSerializable,GatewayDeltaEvent
- Direct Known Subclasses:
GatewayDeltaCreateEvent,GatewayDeltaDestroyEvent
public abstract class AbstractGatewayDeltaEvent extends java.lang.Object implements GatewayDeltaEvent, DataSerializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.geode.DataSerializable
DataSerializable.Replaceable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringkeyprotected java.lang.StringregionName
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractGatewayDeltaEvent()AbstractGatewayDeltaEvent(java.lang.String regionName, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromData(java.io.DataInput in)Reads the state of this object as primitive data from the givenDataInput.java.lang.StringgetKey()RegiongetRegion(Cache cache)java.lang.StringgetRegionName()voidtoData(java.io.DataOutput out)Writes the state of this object as primitive data to the givenDataOutput.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.geode.modules.gatewaydelta.GatewayDeltaEvent
apply
-
-
-
-
Method Detail
-
getRegionName
public java.lang.String getRegionName()
-
getKey
public java.lang.String getKey()
-
fromData
public void fromData(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionDescription copied from interface:DataSerializableReads the state of this object as primitive data from the givenDataInput.- Specified by:
fromDatain interfaceDataSerializable- Parameters:
in- theDataInputto read from- Throws:
java.io.IOException- A problem occurs while reading frominjava.lang.ClassNotFoundException- A class could not be loaded while reading fromin
-
toData
public void toData(java.io.DataOutput out) throws java.io.IOExceptionDescription copied from interface:DataSerializableWrites the state of this object as primitive data to the givenDataOutput.Since 5.7 it is possible for any method call to the specified
DataOutputto throwGemFireRethrowable. It should not be caught by user code. If it is it must be rethrown.- Specified by:
toDatain interfaceDataSerializable- Parameters:
out- theDataOutputto write to- Throws:
java.io.IOException- A problem occurs while writing toout
-
-