Thanks Ben for your suggestioni works fine...now.Thanks again.
treeCache.Remove("/");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962218#3962218
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962218
_
Hi Everyone,
I want to clear the contents of the cache, i am using removeData() from
this.cache.removeData("/"+node);
Treecache Class which causes java.lang.NullPointerException
I am trying to clear the data from main root level. So...where would i be doing
wrong. Can you suggest any good way
false
/
false
org.jboss.cache.loader.JDBCCacheLoader
cache.jdbc.table.name=jbosscache
cache.jdbc.table.create=true
cache.jdbc.table.drop=false
cache.jdbc.tabl
Thanks for your earlier replies Mr Manik Surtani I tried what you suggested but
still i have problems with JDBC Cache Loader...I am assumging that there is
some problem with XML file i am posting it maybe you can let me know the
problem. When i use a properties file and pass it on to JDBC Cache
I am trying to use the JDBC Cache Loader to persist TreeCache to DB, Here is
how i do it
public void configureCache(){
try {
System.out.println("Inside configureCache");
Properties properties = new Properties();
Can any one please let me know a good example on the use of this class
(JDBCCacheLoader). I am have some problems running thisand wanted to check
on an example before i can go any futher.
Thanks in advance.
Regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=vie
It would be really of great help if some can please post an example for the use
of JDBC Cache Loader class. One more thing is that JDBC Config info should it
be in an XML file (the main Config xml file) or does it need to be in another
properties file.
View the original post :
http://www.jboss
Hi Every one,
I wanted to know if we can use JDBC Cache Loader to persist the Treecache?
Are there any restrictions, can we persist any object types in the tree to a
database or they need to be an object of the type String.
Any help will be appreciable.
Thanks in advance.
Regards
View the
Hi every one,
We have an internal class implementation with in our organization of Jboss
Tree Cache. Which wraps around the one from JBoss, this was done as way to
avoid the users to cut the direct dependency on JBoss. We want this service to
be used by clients from across the network so we pu
I have an interface which has these methods about an entry in cache (Key,Value)
i need to write a class which gets these stats to us like this.
public interface CacheEntry{
public long getCreationTime();
public long getExpirationTime();
public long getLastA
We are using a Jboss implementation in our application we have a interface
which has these methods
public long getCreationTime();
public long getExpirationTime();
public long getLastAccessTime();
public long getLastUpdateTime();
public long getVersi
11 matches
Mail list logo