[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-702) PojoCache to specify a user-defined region option for buddy replication and eviction policy
Ben Wang (JIRA)
jira-events at jboss.com
Tue Nov 14 07:04:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-702?page=comments#action_12346990 ]
Ben Wang commented on JBCACHE-702:
----------------------------------
Now we obtain the region automatically from Cache via:
createIfAbsent = false;
Region region = cache.getRegion(fqn, createIfAbsent);
> PojoCache to specify a user-defined region option for buddy replication and eviction policy
> -------------------------------------------------------------------------------------------
>
> Key: JBCACHE-702
> URL: http://jira.jboss.com/jira/browse/JBCACHE-702
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: PojoCache
> Reporter: Ben Wang
> Assigned To: Ben Wang
> Fix For: 2.0.0.GA
>
>
> Currently, the design of flat space mapping in 2.0 means that the object graph doesn't reside under the same tree. When we have buddy replication, eviction or cacheloader, this can be a problem to implement. The best solution is to have an notion of region. For example, something toward this line:
> cache.attach(region, id, pojo)
> will ensure everything is put under /region/id, and __JBOSS_INTERNAL__/region/guid
> I am thinking to put this in an Option class such as:
> cache.attach(id, pojo, option)
> so it is more generic.
--
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
More information about the jboss-jira
mailing list