You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/10 22:59:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16927097#comment-16927097 ]
ASF subversion and git services commented on GEODE-7175:
--------------------------------------------------------
Commit 7e16e9400a6d2dfbfa674a1df29286456677c3d1 in geode's branch refs/heads/feature/GEODE-7175 from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7e16e94 ]
GEODE-7175 Convert toData/fromData in other modules to use new serializers
use the serialization context's readObject/writeObject methods instead
of the static methods in DataSerializer.
> 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
>
> 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)