Log in to follow, share, and participate in this community.
Thread JBoss Cache Options API
JBoss Cache Options APIThis has come up in the past, and I want to revisit this for a potential future improvement to the API. Options are hugely useful in being able to provide additional per-invocation context and overrides. But the cur...
JBCACHE-1442 "setData()" callThis is an API extension to Cache, a new "setData" call, which basically is the same as the old "putData(Map, boolean erase)" call. I would like some people's input on this patch. I'd like to see this in post 3.0, i...
SELECT FOR UPDATE semanticsDoes JBoss Cache 3.x support SELECT FOR UPDATE semantics? I've seen a previous post on this subject but I'm not clear on what/if anything was implemented. The API does not seem to support it - no getForUpdate() method.
Tree versus flat hashmap cache structureWe are studying the internals of JBossCache and we are wondering what exactly are the performance reasons that made you choose to struture cache as a tree rather than as a flat hastable. In this tutorial: http://www....
Pluggable replication on JBossCache?Hi all, I'm taking a look on JBossCache to see if it is possible to use this framework to test and compare new replication protocols. Is it possible to plug new replication protocols in the framework and configure wh...
Have a possible bug here...I'm using GA hibernate 3.3.1 and jbosscache 2.2.0; I've a situation here - I made some changes in DB, and during some SQLes remove a node from jbosscache; After that I'm trying to commit transaction, and exception is ...
JBCACHE-1423 FixDiscussion of https://jira.jboss.org/jira/browse/JBCACHE-1423 -- see JIRA description for background. The "simple fix" I discuss on the JIRA solves the out-of-date state problem, but breaks a number of other unit tes...
memcached client/serverJGroups came out with a demo memcached implementation in Java. So I was wondering why this wasn't ported or done in JBoss Cache yet. I'm thinking it'd be fairly trivial to write a cache loader for JBossCache to talk...
Eviction redesignDiscussion re: any redesign of eviction for JBC 3. Somewhat quoting myself from a tangent on another thread: Looking at the eviction system in JBC, it seems nicely set up to work a la carte: 1) An interceptor that ...
cache statistics via JMXFollowing information is currently being exposed through JMX: 1)RpcManager (replCount, replFailuresCount) 2)ActivationInterceptor (activation count) 3)CacheLoaderInterceptor (lods, misses) 4)CacheMngmtInterceptor (h...
JBoss Cache 3.0 and JBoss AS 5Guys (particularly Brian and Paul, I guess) How could we easily write a delegation layer to make sure JBC 3 will work in AS 5? I'm sure folk in the community would be interested and if we can provide something that w...
Redesigning evictionThis is in reference to this thread on the user forum (see last few posts by nnnnn, bstansberry and myself). In a nutshell, the current eviction design combines a few things, such as when to evict and how to choose c...
JBCACHE-166 - TreeSet/Map, LinkedHashMapWhat would be ideal for implementing ordered values for POJOs would be to able to create a org.jboss.Cache.Node with an ordered implementation for the children nodes. In particular, it might be nice to add this metho...
JBoss Cache Public APISo I've started on work on JBC 3.0.0. I don't intend to make any public API changes, the main new features are internal, but significant enough to warrant a major version update. But, if anyone can convince me of any...
Ordered maps in NodesThis is referring to: https://jira.jboss.org/jira/browse/JBCACHE-841 And rather than exposing the backing Map impl to users, I'd prefer to just provide a few settings on a node such that:
Node.isDataOrdered(); //...
Custom data versionsThis came up while implementing handling custom data versions with MVCC in 3.0.0. We currently allow the setting of custom data versions with optimistic locking via the Option API:
cache.getInvocationContext().get...
Marshalling RegionsBrian, did you ever have a play around with the MarshalledValue stuff I put in to JBC 2.1.0 as a potential replacement for using marshalling regions? In relation to redesigning eviction and region interfaces, I wonde...
Service threadsThis is in response to a few related JIRAs: JBCACHE-1262 JBCACHE-1268 JBCACHE-1108 There are other internal service threads as well, such as async cache loader writer threads, repl queue threads, etc. WRT. the JIRA...
Eviction thread causes deadlock?Hi, I'm using version 1.3.0 of Jboss cache. Recently one of our production servers was hanging. A stack trace showed that the evictor thread seemed to be stuck:
"Timer-1" daemon prio=10 tid=0x08ffdc00 nid=0x1c85 i...
Marshalling problem w/ 2.2.0.CR5Well, maybe not CR5, since I haven't tested this. But, as briefly discussed on the dev list I'm seeing a failure in a AS testsuite test w/ a snapshot built earlier in the week against the head of 2.2.X branch. I assum...