Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8978

convert all DataSerializableFixedID classes to stop using InternalDataSerializer's static methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: membership, serialization
    • Labels:
      None

      Description

      When we introduced the geode-serialization module we created new method signatures for toData and fromData in the form

      void toData(DataOutput out, SerializationContext context) throws IOException;
      

      and

      void fromData(DataInput in, DeserializationContext context)
            throws IOException, ClassNotFoundException;
      

      All DataSerializableFixedID classes were modified to use these signatures but many continue to use InternalDataSerializer and/or DataSerializer static methods to perform their work. These should be changed to use the SerializationContext or DeserializationContext parameter along with StaticSerialization whenever possible.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bschuchardt Bruce J Schuchardt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: