问题
I am obtaining my cache object like this
CacheAccess<Object, Object> cache = JCS.getInstance("queries");
I have put a config file in the classpath cache.ccf. For debugging reasons I want to set the aux disk cache path programmatically, but do not know how to obtain the interface I need. I know there exsists an attribute class where one may set this path, but I do not know how to get the instance of this class which refers to the cache I am using. Any ideas?
来源:https://stackoverflow.com/questions/31706419/how-to-set-the-auxiliary-disk-cache-programmatically-using-jcs