public static interface DataSerializable.Replaceable
Replaceableallows an object to write an alternative version of itself to a
DataOutput. It is similar to the
writeReplacemethod of standard Java serialization.
Note that if a
Replaceable is also
will not be invoked. Instead, its replacement object will
be written to the stream using
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.