• Designing Habanero - TreeCacheListener and CacheLoader

    As 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...
    Profile Photo
    last modified by manik
  • Protected fields in TreeCache

    As 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...
    Profile Photo
    last modified by brian.stansberry
  • Reactivating SharedStoreCacheLoader

    As 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...
    Profile Photo
    last modified by galder.zamarreno
  • Use of InvocationContext vs. explicit Option in the API

    I 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 ...
    Profile Photo
    last modified by ben.wang
  • PojoCacheListener 2.0 interface

    Following 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...
    Profile Photo
    last modified by ben.wang
  • Habanero: CacheFactory interface

    The 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...
    Profile Photo
    last modified by manik
  • PojoCache 2.0 Interface

    Now 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...
    Profile Photo
    last modified by ben.wang
  • Flag to purge cacheloader data upon restart

    This 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...
    Profile Photo
    last modified by ben.wang
  • Proper usage for data gravitation with buddy replication

    In 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...
    Profile Photo
    last modified by ben.wang
  • Pluggable state transfer factory

    During 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...
    Profile Photo
    last modified by ben.wang
  • JBCACHE-399

    Most 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...
    Profile Photo
    last modified by smarlow
  • 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...
    Profile Photo
    last modified by manik
  • 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...
    Profile Photo
    last modified by genman
  • [JBCACHE-669] Enable data gravitation for PojoCache internal

    Please 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...
    Profile Photo
    last modified by brian.stansberry
  • Proposal: Flat 'Heap' for POJOs stored in PojoCache

    We 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...
    Profile Photo
    last modified by brian.stansberry
  • Integration issue w/ 1.4.0.CR2 and JBoss AS 4.0.4

    Just 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...
    Profile Photo
    last modified by brian.stansberry
  • Habanero: JGroups version

    What 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.
    Profile Photo
    last modified by galder.zamarreno
  • Use of Region classloader outside of marshalling

    The 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 ...
    Profile Photo
    last modified by brian.stansberry
  • JBossCache and PojoCache integrations

    While 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...
    Profile Photo
    last modified by ben.wang
  • Habanero: Should we baseline on Java 5?

    One of the things Bela and I spoke about when in Switzerland a few weeks back - whether JBoss Cache 2.0.0 should use Java 5 as a baseline. Makes sense wrt. JBoss AS 5, since AS5 will need Java 5. My concern is around...
    Profile Photo
    last modified by manik