[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-279) Avoid instance MarshalledValue accross the code

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Aug 11 12:04:03 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño resolved ISPN-279.
-----------------------------------

    Fix Version/s:     (was: 5.1.0.BETA1)
       Resolution: Won't Fix


I don't think it's worth investing time on this. There hasn't been such a big explosion of situations where we had to do instanceof MarshalledValue.

> Avoid instance MarshalledValue accross the code
> -----------------------------------------------
>
>                 Key: ISPN-279
>                 URL: https://issues.jboss.org/browse/ISPN-279
>             Project: Infinispan
>          Issue Type: Task
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>
> Avoid doing things like this in EntryFactoryImpl or EventImpl and instead provide a way for key to be extracted when it somehow needs to be exported to the outside world when lazy serialization is on.
>  if (key instanceof MarshalledValue) {
>                key = ((MarshalledValue) key).get();
>             } 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list