Log in to follow, share, and participate in this community.
Thread Should acquired locks be released in the order they were obt
Should acquired locks be released in the order they were obtFrom http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915487#3915487 General performance and concurrency improvements for TransactionEntry ==========================================================...
Thread JBC partial state transfer and Region.activate()
JBC partial state transfer and Region.activate()Hey guys, I spent previous two days investigating new JGroups callback based partial state transfer implemented in JBC HEAD. Previous JBC releases relied on RPC based mechanism to implement partial state transfer. We...
Thread Incorrect serialization of PojoCache collection class proxy
Incorrect serialization of PojoCache collection class proxyThis is originally reported from http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93750 where an accidental serialization of CachedMapImpl has occurred. Brian has also created http://jira.jboss.com/ji...
Eviction thread behaviourAs reported in http://jira.jboss.com/jira/browse/JBCACHE-794 there are a few issues with the eviction thread's behaviour in concept. The bits I'm specifically concerned about are: 1) Should the eviction thread al...
Removal of old code in 2.0 releaseNow that it appears that the integration of JBossCache into AS5.0 in well underway, will it be ok to everyone that I remove the deprecated code in PojoCache? The portion that I refer to specifically is under the names...
Documenting Limitations of FileCacheLoaderDiscussion thread for http://jira.jboss.com/jira/browse/JBCACHE-807 I'll do this, but would like input from others on the specific issues with FCL, and in what, if any, use cases it's production use is acceptable. M...
POJOization of config elementsBranching off from http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92700 as that thread's a bit wide ranging :) It's nice if individual BuddyLocator, CacheLoader and EvictionPolicy impls can provide ...
API Issues integrating 2.0.0.DR1 in HEADI'm starting to integrate 2.0.0.DR1 and here's what I've hit so far: 1) How do you set an Option? I thought there was an InvocationContext.currentContext() or something. Doesn't seem to be. Only thing I see is a gett...
Hibernate Caching with JBossCacheCan any one guide me in using caching functionality in hibernate. If any sample code is available please let me know? Also let me know what are the configuration settings that i need to use for caching in hibernate. ...
Thread Issues with shunned node rejoining a cluster
Issues with shunned node rejoining a clusterDiscussion of conceptual/design issues related to dealing with shunned nodes rejoining a cluster. A fundamental thing to understand is that when your channel is shunned and disconnects, you don't get a new view. Expe...
Thread Pass event type to EvictionPolicy.canIgnoreEvents
Pass event type to EvictionPolicy.canIgnoreEventsWhen we moved to EvictionInterceptor from a TreeCacheListener-based approach, one thing we lost is the ability for custom policies to prevent certain kinds of events going into the eviction queue. For example, a custo...
Handling JGroups merging in JBoss CacheJBC currently does not handle JGroups merge events, mainly because there is no clear way of handling this. This is clearly not a concern for caches backed with shared cache loaders, but could lead to inconsistencies ...
Thread PojoCache physical POJO field mapping and region
PojoCache physical POJO field mapping and regionCurrently, PojoCache 2.0 uses a "flat-space" mapping approach where the user-specified id stores only a "PojoReference" where in turn it refers to the internal workspace under /__JBossInternal__. This will present so...
Thoughts on 2.0 APIProbably the boat has already left the dock, but here are some thoughts... There's org.jboss.cache.factories and org.jboss.cache.pojo.factory, in addition to being inconsistent, I sort of don't like the "ies" look. I...
Thread CacheListener notifications during data gravitation
CacheListener notifications during data gravitationFound an issue with BR and the AS web clustering code that's really a general problem with BR. Issue is that both the http session repl code and clustered sso use cache listeners that interpret nodeRemoved calls as i...
Designing Habanero - Configuration changesThe last of my initial postings in this (exciting!) series of interface changes for JBoss Cache 2.0.0 (Habanero): configuration files. See http://jira.jboss.com/jira/browse/JBCACHE-89 This will change the way JBoss ...
state transfer failure handlingHey, Complete state transfer, as you might be aware, consists of transferring transient (in-memory) state, associated state (pojo reference map) and persistent state (state fetched from cacheloader). All three states...
SingletonStoreCacheLoader in 2.0Couple of things came to my mind while I was coding this: - AsyncCacheLoader and SingletonStoreCacheLoader share the same paradigm in that none of them write to the actual store, but delegate to an underlying cache l...
Runtime changes of cache config elementsI've created a new annotation to go with org.jboss.cache.config.Configuration - @Dynamic. This annotation is applied to fields in the Configuration class and if a setter is called on a Configuration object, if the ca...
Thread String size limitations with TreeCacheMarshaller
String size limitations with TreeCacheMarshallerSee http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968346 and JBCACHE-756. The story is that Strings are written using writeUTF() which has a 65535 byte limit. See: http://java.sun.com/j2se/1.5.0/...