commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: [JCS]--How to get a list of Keys in a region
Date Mon, 16 Jan 2012 17:43:32 GMT
On 16.01.12 18:06, Chopin hu wrote:
> java.lang.UnsupportedOperationException
>         at org.apache.jcs.auxiliary.disk.file.FileDiskCache.getGroupKeys(FileDiskCache.java:143)
>         at org.apache.jcs.engine.control.CompositeCache.getGroupKeys(CompositeCache.java:1110)
>         at org.apache.jcs.access.GroupCacheAccess.getGroupKeys(GroupCacheAccess.java:192)
>         at gov.nasa.gsfc.giovanni.TestCache.getKeyList(TestCache.java:167) 
>         at gov.nasa.gsfc.giovanni.TestCache.main(TestCache.java:608)
> 
> What could be wrong?    

Well, the error message basically says it: Groups are not supported in
the FileDiskCache. I'd recommend the IndexedDiskCache instead. It works
far better.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message