File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Writing to File - And updating cache
Joined: Jul 04, 2004
Apr 15, 2014 13:35:19
We have a requirement to write to the file only when the element is moved out of the cache. How can we do this?
And is cache.put( new Element( key, value)); a good way of updating cache
Joined: Sep 03, 2012
May 27, 2014 13:18:05
Try writing a listener, which will get called on eviction of any element from the cache memory.
I agree. Here's the link:
subject: Writing to File - And updating cache
Read/Write file everytime ?
Reading in db file
JNLP On-Demand download
Do jnlp file updates itself
Writing to DB file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015