Log in to follow, share, and participate in this community.
Thread Designing Habanero - Cache and Node interfaces and JSR-107
Designing Habanero - Cache and Node interfaces and JSR-107This discussion is linked to http://jira.jboss.com/jira/browse/JBCACHE-57. The plan for JBoss Cache 2.0.0 (Habanero) is 1) to access cche instances using a CacheFactory 2) CacheFactory would return an instance of a ...
Thread Designing Habanero - TreeCacheListener and CacheLoader
Designing Habanero - TreeCacheListener and CacheLoaderAs a first in a series of discussions I'm about to kick off regarding API changes for JBoss Cache 2.0.0 (Habanero), I want to talk about some of the API interfaces, specifically the TreeCacheListener and CacheLoader i...
Protected fields in TreeCacheAs part of the API cleanup for 2.0, what do people think about changing all the protected fields in TreeCache to private, or, if needed, package-protected? A protected field is really part of a class' public API. Sinc...
Reactivating SharedStoreCacheLoaderAs per conversations with Bela and Manik, I'm planning to have a go at http://jira.jboss.com/jira/browse/JBCACHE-650 which refers to reactivating SharedStoreCacheLoader. Had a quick look at it and this is what I think...
Thread Use of InvocationContext vs. explicit Option in the API
Use of InvocationContext vs. explicit Option in the APII understand that in the new 2.0 API, you will expose InvocationContext for the user as a thread local variable. Right now, I can see that Option can be set there such that all subsquent code will be affected by that ...
PojoCacheListener 2.0 interfaceFollowing is the listener events for PojoCache. Note that, under PojoCache there is a decoupling of Cache node event now. That is, the user no longer has the notion of node modified, e.g., in PojoCache.
/*
* JBoss...
Habanero: CacheFactory interfaceThe new programmatic model for constructing an instance of the cache in Habanero utilises a CacheFactory. Typically, here is how it would be done:
CacheFactory factory = new DefaultCacheFactory(); // users may crea...
PojoCache 2.0 InterfaceNow that the underlying Cache API has stablized, I am also publishing the PojoCache 2.0 APIs. The main changes are: 1. API name changes like putObject to attach and removeObject to detach. 2. Decouple from underlying...
Thread Flag to purge cacheloader data upon restart
Flag to purge cacheloader data upon restartThis is regarding to this Jira: http://jira.jboss.com/jira/browse/JBCACHE-642?page=comments#action_12337423 I propose we should have a flag to purge loader data upon restart. The rationale for this is to give user an...
Thread Proper usage for data gravitation with buddy replication
Proper usage for data gravitation with buddy replicationIn the PojoCache 1.4 release, I have used the data gravitation option during the getObject to gravitate the data (if there is any) for buddy replication. However, I am not quite happy with it for two reasons: 1. It i...
Pluggable state transfer factoryDuring the creation of the new package name for PojoCache, I have noticed that currently the state transfer code has direct coupling to PojoCache class. This is needed such that PojoCache needs to treat the state tran...
JBCACHE-399Most of the discussions for JBCACHE-399 have been private. Below is the text from a recent 1-1 conversation. (07:47:49) smarlow_sssw: Hi Ben, is now a good time to talk about the issues with the original implementa...
Improper handling of TXs in JBossCache?After a short conversation with Kevin Conner about the way we deal with 2PC transactions, I believe we have an incorrect implementation. From the email thread: "Manik Surtani" wrote: I have a resource, R, participat...
Security for JBossCache?Perhaps this isn't really worth considering, but has there been any thought of adding some sort of security layer to the Cache? Or, something like a "view" (think chroot) of an existing cache that clients can use. On...
Thread [JBCACHE-669] Enable data gravitation for PojoCache internal
[JBCACHE-669] Enable data gravitation for PojoCache internalPlease see http://jira.jboss.com/jira/browse/JBCACHE-669 for the underlying issue. The problem arises because PojoCache bypassess the interceptor stack when doing get() calls on the cache (not sure why, prob an optim...
Thread Proposal: Flat 'Heap' for POJOs stored in PojoCache
Proposal: Flat 'Heap' for POJOs stored in PojoCacheWe talked about the concept of a flat 'heap' for storing POJOs at the end of our clustering meeting in Las Vegas -- wanted to post here both to flesh out the idea a bit and because I've found another situation that se...
Thread Integration issue w/ 1.4.0.CR2 and JBoss AS 4.0.4
Integration issue w/ 1.4.0.CR2 and JBoss AS 4.0.4Just an FYI to the community about a minor JBC/JBoss AS integration issue, as well as a follow up comment to Ben re: a phone discussion we had this AM. For JBC 1.4.0.CR2, we changed the internal workings of the Cache...
Habanero: JGroups versionWhat JGroups version are we gonna be using for 2.0? Are we moving to 2.3? I'm not asking it for anything in particular, just curiosity.
Thread Use of Region classloader outside of marshalling
Use of Region classloader outside of marshallingThe http session repl code currently has a direct reference to the JBoss Cache instance. It gets this by creating an MBean proxy to the cache and then calling the getInstance() method on the proxy. According to what ...
JBossCache and PojoCache integrationsWhile reviewing the new PojoCache APIs, couple of integration issues come up with JBossCache. So I am creating a new topic for future issues as well. 1. Have we thought about how to deploy the new 2.0 MBean service u...