DecoratedCache should be immutable and threadsafe
-------------------------------------------------
Key: ISPN-1639
URL:
https://issues.jboss.org/browse/ISPN-1639
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.1.0.CR1
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 5.1.0.CR2
A org.infinispan.DecoratedCache should be immutable, or using methods like
_DecoratedCache.withFlags(Flag...)_ and _DecoratedCache.with(ClassLoader)_ will behave
unexpectedly, possibly applying such options to existing instances.
Also all Cache instances should respect the contract of thread-safety.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira