PojoCache to map internal workspace under region fqn if present
---------------------------------------------------------------
Key: JBCACHE-803
URL:
http://jira.jboss.com/jira/browse/JBCACHE-803
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: 2.0.0
In 2.0 release, we use the "flat-space" POJO mapping that stores the real POJO
under the __JBossInternal__ workspace. This will create a problem for 1) partial state
transfer and 2) marshalling where both requires some notion of "region". To
resolve this, we propose if region is present, we store the internal workspace under the
specific region fqn. That is, say, a user specifies a region as "/person".
Then:
cache.attach("/person/joe", joe)
will result in the internal workspace for joe is stored under
"/pseron/__JBossInternal__".
With this scheme, there will be no special handling of partial state transfer and
marshalling from PojoCache point of view since all the data will fall under the region.
--
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