Interface DataSerializable

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  DataSerializable.Replaceable
      Replaceable allows an object to write an alternative version of itself to a DataOutput.
    • Method Detail

      • toData

        void toData​(DataOutput out)
             throws IOException
        Writes the state of this object as primitive data to the given 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.

        Parameters:
        out - the DataOutput to write to
        Throws:
        IOException - A problem occurs while writing to out