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
Android Security Essentials Live Lessons
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Writing to File - And updating cache
Do jnlp file updates itself
Read/Write file everytime ?
Writing to DB file
JNLP On-Demand download
Reading in db file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014