History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-94
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andres March
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
OSCache

More evenly distributed disk caching

Created: 13/Jul/04 11:02 AM   Updated: 22/Sep/04 10:46 AM
Component/s: Listeners
Affects Version/s: 2.0.2
Fix Version/s: 2.1

File Attachments: 1. Java Source File DiskPersistenceListener.java (17 kb)
2. Java Source File EvenDiskPersistenceListener.java (2 kb)



 Description  « Hide
Persist the cache data to disk by reverse hashing the filename to create
a directory structure. This hopefully will more evenly distribute
files than the vanilla DiskPersistenceListener.

Changed DiskPersistenceListener to allow protected access to static final constants and added getters to private members.

Refactored file name creation into getCacheFileName(String) to allow reuse or override by subclasses.

Added EvenDiskPersistenceListener to create directory structure from file names.



 All   Comments   Change History      Sort Order:
Andres March - [30/Aug/04 07:38 PM ]
This issue may be closed