[
http://jira.jboss.com/jira/browse/JBCACHE-713?page=all ]
Vincent Marquez updated JBCACHE-713:
------------------------------------
Attachment: DetachTest.java
This may be something you guys are working on, but I thought i'd bring it to your
attention anyway: When you access the pojo after the detach now, you get null values.
What concerns me more is that the CachedFieldInterceptor may later on be removed after the
detach in another thread, leading a to a chance you may see a null value with one read,
and then a different value immediatly after.
PojoCache when it has been detached remotely, accessing it again will
throw PojoCacheAlreadyDetachedException
-------------------------------------------------------------------------------------------------------------
Key: JBCACHE-713
URL:
http://jira.jboss.com/jira/browse/JBCACHE-713
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Priority: Minor
Fix For: 2.0.0.GA
Attachments: DetachTest.java
This is the use case here:
cacheA.attach(id, pojo);
p = cacheB.find(id);
cacheA.detach(id); // detach on the remote node wrt to p
p.getName(); // this will throw PojoCacheAlreadyDetachedException
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira