public class GatewayDeltaCreateEvent extends AbstractGatewayDeltaEvent
DataSerializable.Replaceable
key, regionName
Constructor and Description |
---|
GatewayDeltaCreateEvent() |
GatewayDeltaCreateEvent(java.lang.String regionName,
java.lang.String key,
byte[] gatewayDelta) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Cache cache) |
void |
fromData(java.io.DataInput in)
Reads the state of this object as primitive data from the given
DataInput . |
byte[] |
getGatewayDelta() |
static void |
registerInstantiator(int id) |
void |
toData(java.io.DataOutput out)
Writes the state of this object as primitive data to the given
DataOutput . |
java.lang.String |
toString() |
getKey, getRegion, getRegionName
public GatewayDeltaCreateEvent()
public GatewayDeltaCreateEvent(java.lang.String regionName, java.lang.String key, byte[] gatewayDelta)
public byte[] getGatewayDelta()
public void apply(Cache cache)
public void fromData(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundException
DataSerializable
DataInput
.fromData
in interface DataSerializable
fromData
in class AbstractGatewayDeltaEvent
java.io.IOException
- A problem occurs while reading from in
java.lang.ClassNotFoundException
- A class could not be loaded while reading from in
public void toData(java.io.DataOutput out) throws java.io.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
java.io.IOException
- A problem occurs while writing to out
public static void registerInstantiator(int id)
public java.lang.String toString()
toString
in class java.lang.Object