-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Accessing Cache object
PostPosted: Wed Nov 30, 2005 6:39 am 
Newbie

Joined: Wed Nov 30, 2005 5:29 am
Posts: 4
Hai,
I am using JBoss TreeCache for caching in Hibernate.
Is it possible to access the cache object (ie instance of JBoss TreeCache)
For example,
1. Getting no. of objects in cache.
2. Getting all the key values.

Thanks in advance.

Regards,
Bala.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 30, 2005 8:54 am 
Newbie

Joined: Tue Nov 15, 2005 2:16 pm
Posts: 10
yes,

We implemented a MBean (implementing the org.hibernate.cache.CacheProvider interafce) and used it on the hibernateService mbean in the "CacheProviderClass" attribute.

So we can manage the cache from the first mbean.

Emilio


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.