[infinispan-issues] [JBoss JIRA] (ISPN-7993) Functional commands don't support Data convertions

Katia Aresti (JIRA) issues at jboss.org
Wed Jun 28 11:27:00 EDT 2017


Katia Aresti created ISPN-7993:
----------------------------------

             Summary: Functional commands don't support Data convertions
                 Key: ISPN-7993
                 URL: https://issues.jboss.org/browse/ISPN-7993
             Project: Infinispan
          Issue Type: Feature Request
          Components: Core
            Reporter: Katia Aresti
            Assignee: Katia Aresti
             Fix For: 9.2


Functional commands don't support encoding
 
For example, in this test

{code}
public class ClusteredCacheTest extends MultipleCacheManagersTest {

public void testFunctionalMap() throws Exception {
      prepareTestData();

      FunctionalMapImpl functionalMap = FunctionalMapImpl.create(this.cache2.getAdvancedCache());
      FunctionalMap.ReadWriteMap<String, String> readWriteMap = ReadWriteMapImpl.create(functionalMap);

      readWriteMap.eval("k", view -> {
         view.set("v");
         return null;
      }).join();

      assertEquals("v", cache2.get("k"));
   }
}
{code}

Returns this exception when the StorageType is OFF_HEAP



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list