|
GemFire 6.6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DataSerializable.Replaceable
Replaceable
allows an object to write an alternative
version of itself to a DataOutput
. It is similar to
the writeReplace
method of standard Java
serialization.
Note that if a Replaceable
is also
DataSerializable
, its toData
method
will not be invoked. Instead, its replacement object will
be written to the stream using DataSerializer.writeObject(Object, DataOutput)
.
DataSerializer.writeObject(Object, DataOutput)
Method Summary | |
---|---|
Object |
replace()
Replaces this object with another in the "output stream" written by DataSerializer.writeObject(Object, DataOutput) . |
Method Detail |
---|
Object replace() throws IOException
DataSerializer.writeObject(Object, DataOutput)
.
IOException
|
GemFire 6.6.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |