[infinispan-issues] [JBoss JIRA] (ISPN-7417) Implement transcoding
Gustavo Fernandes (JIRA)
issues at jboss.org
Fri Apr 7 13:23:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13391025#comment-13391025 ]
Gustavo Fernandes edited comment on ISPN-7417 at 4/7/17 1:22 PM:
-----------------------------------------------------------------
[~galder.zamarreno] The idea is to remove compatibility mode. For the task use case, the Infinispan server caches will be configured by default with a mime-type reflecting the storage format, for example:
_application/vnd.infinispan.v9.wrapped+x-jboss-marshalling_
At runtime it will be possible to decorate the cache to deal with other types, for example:
{code:java}
cache.withContentType("application/x-java-object")
{code}
all operations on that decorated cache will deal with POJOs, using a internally transcoder that supports _application/x-java-object_ and _application/vnd.infinispan.v9.wrapped+x-jboss-marshalling_ to do on-the-fly conversion
DISCLAIMER: this is all WIP at the moment, names and API calls are not final
was (Author: gustavonalle):
[~galder.zamarreno] The idea is to remove compatibility mode. For the task use case, the Infinispan server caches will be configured by default with a mime-type reflecting the storage format, for example:
_application/vnd.infinispan.v9.wrapped+x-jboss-marshalling_
At runtime it will be possible to decorate the cache to deal with other types, for example:
{code:java}
cache.withContentType("application/x-java-object")
{code}
all operations on that decorated cache will deal with POJOs, using a transcoder that supports _application/x-java-object_ and _application/vnd.infinispan.v9.wrapped+x-jboss-marshalling_ to do on-the-fly conversion
DISCLAIMER: this is all WIP at the moment, names and API calls are not final
> Implement transcoding
> ---------------------
>
> Key: ISPN-7417
> URL: https://issues.jboss.org/browse/ISPN-7417
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
>
> The aim of this JIRA is to implement transcoding so that data of any type can be stored and it can be transformed on the fly, regardless of the endpoint. The work of the JIRA will be split into different subtasks to be able to split the work.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list