Hi,

I am looking into using JCS as a disk-based key-value store, and it seems to
work fine. However if the jvm is terminated, the .key file may not get
written to, and although the .data file has my data in, when I restart the
application it cannot access anything in the cache (presumably due to the
.key file being empty).

So, is there anyway to force the cache to immediately persist to disk?
Having MaxObjects=0 on the memory cache seems to help, but still doesn't
cause the .key file to be written.

I also though I might be able to use ICacheEventLogger to see when data has
actually been written to the disk store, but the logging stuff doesn't seem
to be in the released version, although it is in the documentation?

Does anyone know if it is even possible to do what I am trying to do, or
have any suggestions?

Thanks.

Reply via email to