public class GatewayDeltaCreateEvent extends AbstractGatewayDeltaEvent
DataSerializable.Replaceable
key, regionName
Modifier and Type | Method and Description |
---|---|
void |
apply(Cache cache) |
void |
fromData(DataInput in)
Reads the state of this object as primitive data from the given
DataInput . |
void |
toData(DataOutput out)
Writes the state of this object as primitive data to the given
DataOutput . |
String |
toString() |
getKey, getRegion, getRegionName
public void apply(Cache cache)
public void fromData(DataInput in) throws IOException, ClassNotFoundException
DataSerializable
DataInput
.fromData
in interface DataSerializable
fromData
in class AbstractGatewayDeltaEvent
in
- the DataInput
to read fromIOException
- A problem occurs while reading from in
ClassNotFoundException
- A class could not be loaded while reading from in
public void toData(DataOutput out) throws IOException
DataSerializable
DataOutput
.
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 DataSerializable
toData
in class AbstractGatewayDeltaEvent
out
- the DataOutput
to write toIOException
- A problem occurs while writing to out