Gemfire JavaDocs
Class GatewayDeltaCreateEvent
- java.lang.Object
-
- org.apache.geode.modules.gatewaydelta.AbstractGatewayDeltaEvent
-
- org.apache.geode.modules.gatewaydelta.GatewayDeltaCreateEvent
-
- All Implemented Interfaces:
java.io.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 void
apply(Cache cache)
void
fromData(java.io.DataInput in)
Reads the state of this object as primitive data from the givenDataInput
.void
toData(java.io.DataOutput out)
Writes the state of this object as primitive data to the givenDataOutput
.java.lang.String
toString()
-
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(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Description copied from interface:DataSerializable
Reads the state of this object as primitive data from the givenDataInput
.- Specified by:
fromData
in interfaceDataSerializable
- Overrides:
fromData
in classAbstractGatewayDeltaEvent
- Parameters:
in
- theDataInput
to read from- Throws:
java.io.IOException
- A problem occurs while reading fromin
java.lang.ClassNotFoundException
- A class could not be loaded while reading fromin
-
toData
public void toData(java.io.DataOutput out) throws java.io.IOException
Description copied from interface:DataSerializable
Writes the state of this object as primitive data to the givenDataOutput
.Since 5.7 it is possible for any method call to the specified
DataOutput
to throwGemFireRethrowable
. It should not be caught by user code. If it is it must be rethrown.- Specified by:
toData
in interfaceDataSerializable
- Overrides:
toData
in classAbstractGatewayDeltaEvent
- Parameters:
out
- theDataOutput
to write to- Throws:
java.io.IOException
- A problem occurs while writing toout
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-