[infinispan-issues] [JBoss JIRA] (ISPN-3969) Can't retrieve values from FineGrainedAtomicMap with "storeAsBinary" option enabled

Gunnar Morling (JIRA) issues at jboss.org
Wed Feb 5 11:24:28 EST 2014


Gunnar Morling created ISPN-3969:
------------------------------------

             Summary: Can't retrieve values from FineGrainedAtomicMap with "storeAsBinary" option enabled
                 Key: ISPN-3969
                 URL: https://issues.jboss.org/browse/ISPN-3969
             Project: Infinispan
          Issue Type: Bug
            Reporter: Gunnar Morling
            Assignee: Mircea Markus


When using the "storeAsBinary" option to enforce eager serialization, a value added to a {{FineGrainedAtomicMap}} via {{put()}} can't be read back via {{get()}}:

{code}
EmbeddedCacheManager manager = ...;
manager.getCache( "testCache", true );
		
CacheKey cacheKey = new CacheKey( "Some Key" );
Object key = "the key";
Object value = "the value";

FineGrainedAtomicMap<Object, Object> map = AtomicMapLookup.getFineGrainedAtomicMap( cache, cacheKey, true );
map.put( key, value );

//fails
assertNotNull( map.get( key ) );
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list