Class AbstractGatewayDeltaEvent
java.lang.Object
org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
- All Implemented Interfaces:
Serializable,DataSerializable,GatewayDeltaEvent
- Direct Known Subclasses:
GatewayDeltaCreateEvent,GatewayDeltaDestroyEvent
public abstract class AbstractGatewayDeltaEvent
extends Object
implements GatewayDeltaEvent, DataSerializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.geode.DataSerializable
DataSerializable.Replaceable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReads the state of this object as primitive data from the givenDataInput.getKey()voidtoData(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, waitMethods inherited from interface org.apache.geode.modules.gatewaydelta.GatewayDeltaEvent
apply
-
Field Details
-
regionName
-
key
-
-
Constructor Details
-
AbstractGatewayDeltaEvent
protected AbstractGatewayDeltaEvent() -
AbstractGatewayDeltaEvent
-
-
Method Details
-
getRegionName
-
getKey
-
getRegion
-
fromData
Description 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:
IOException- A problem occurs while reading frominClassNotFoundException- A class could not be loaded while reading fromin
-
toData
Description 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:
IOException- A problem occurs while writing toout
-