commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chopin hu <hucho...@yahoo.com>
Subject Re: [JCS]--How to get a list of Keys in a region
Date Tue, 17 Jan 2012 02:35:56 GMT
Thank you so much, Thomas.   Unfortunately, due to the customer requirements, the disk cache
instead of indexed disk cache is what they want.  is there any plan JCS will add this support
to the disk cache?   I think it is really useful to have it in Disk Cache, particularly
for my project at Goddard NASA.

By the way, do you know any timeline for JCS release 1.4?

Do appreciate all your help on this and previous issues.


--- On Mon, 1/16/12, Thomas Vandahl <tv@apache.org> wrote:

From: Thomas Vandahl <tv@apache.org>
Subject: Re: [JCS]--How to get a list of Keys in a region
To: "Commons Users List" <user@commons.apache.org>
Date: Monday, January 16, 2012, 12:43 PM

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message