You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (Jira)" <ji...@apache.org> on 2019/09/13 22:19:00 UTC
[jira] [Resolved] (GEODE-7175) Convert toData/fromData in other
modules to use new serializers
[ https://issues.apache.org/jira/browse/GEODE-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Schuchardt resolved GEODE-7175.
-------------------------------------
Fix Version/s: 1.11.0
Resolution: Fixed
> Convert toData/fromData in other modules to use new serializers
> ---------------------------------------------------------------
>
> Key: GEODE-7175
> URL: https://issues.apache.org/jira/browse/GEODE-7175
> Project: Geode
> Issue Type: Sub-task
> Components: membership, serialization
> Reporter: Bruce Schuchardt
> Assignee: Bruce Schuchardt
> Priority: Major
> Fix For: 1.11.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The serialization context API provides ObjectSerializer and ObjectDeserializer instances in toData/fromData methods for DataSerializableFixedID classes. Most implementations of DataSerializableFixedID in geode-core and other subprojects are still using the old DataSerializer.writeObject/readObject API to read and write objects. That should be changed to use the serialization context API.
> DataSerializer.readObject() -> context.getDeserializer().readObject()
> DataSerializer.writeObject() -> context.getSerializer.writeObject()
--
This message was sent by Atlassian Jira
(v8.3.2#803003)