Interface | Description |
---|---|
Keyed<K> |
The interface the Value(V) must implement to use the Keyed ValueManagers.
|
Class | Description |
---|---|
AbstractFilenameFileValueManager<V> |
A subclass AbstractFileValueManager, where we determines that the Key is a String and its
file.getName() . |
AbstractFileValueManager<K,V> |
ValueWrapper to stored values in a file.
|
AbstractIndexedFileValueManager<K extends Serializable,V> |
A persisted file valuemanager which holds the Key to File relation stored in a file in the Caching Directory.
This file is named "persistencefilecache.ser" and is always in the root of the Caching Directory, and is owned by the ValueManager. This ValueManager works that all keys get a random UUID string which is the filename the value is stored under. This "UUID string" to "key" relation is stored in a index hashtable which is serialized to a file "persistencefilecache.ser" whenever X changes has been performed. This X is set by "indexSaveInterval", set a 'good' value to minimized IO, but the higher the value, the higher the number of lost keys when a reboot is performed. After "restore" and "cleanup" the "index" file is always persisted afterwards. |
AbstractKeyedFileValueManager<K,V extends Keyed<K>> |
A persisted file valuemanager which holds the Key to Filein the value it self.
This ValueManager works that all keys is stored in the file and the filename gets a random UUID. This makes it easy just to persist a Object type, because the object it selfs contains the Key, but reload/restore is expensive. |
CachingDirectory |
Defines the directory where cached values is stored in files.
|
DefaultFileLRUCachingMap<K,V> |
The default LRUCachingMap for file handling.
The "AbstractValueWrapper" is always cast to a "DefaultFileValueWrapper". |
DefaultFileValueWrapper<K,V> |
The value wrapper that hold enough information to retrive a file containing the value.
|
Copyright © 2016. All rights reserved.