VMware GemFire Java API Reference
Class GatewayDeltaCreateEvent
- java.lang.Object
-
- org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
-
- org.apache.geode.modules.gatewaydelta.GatewayDeltaCreateEvent
-
- All Implemented Interfaces:
Serializable,DataSerializable,GatewayDeltaEvent
public class GatewayDeltaCreateEvent extends AbstractGatewayDeltaEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.geode.DataSerializable
DataSerializable.Replaceable
-
-
Field Summary
-
Fields inherited from class org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
key, regionName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Cache cache)voidfromData(DataInput in)Reads the state of this object as primitive data from the givenDataInput.voidtoData(DataOutput out)Writes the state of this object as primitive data to the givenDataOutput.StringtoString()-
Methods inherited from class org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
getKey, getRegion, getRegionName
-
-
-
-
Method Detail
-
apply
public void apply(Cache cache)
-
fromData
public void fromData(DataInput in) throws IOException, ClassNotFoundException
Description copied from interface:DataSerializableReads the state of this object as primitive data from the givenDataInput.- Specified by:
fromDatain interfaceDataSerializable- Overrides:
fromDatain classAbstractGatewayDeltaEvent- Parameters:
in- theDataInputto read from- Throws:
IOException- A problem occurs while reading frominClassNotFoundException- A class could not be loaded while reading fromin
-
toData
public void toData(DataOutput out) throws IOException
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- Overrides:
toDatain classAbstractGatewayDeltaEvent- Parameters:
out- theDataOutputto write to- Throws:
IOException- A problem occurs while writing toout
-
-