Modifier and Type | Method and Description |
---|---|
ValueManager<K,V> |
LRUCachingMap.getValueManager()
The manager class which handles the wrapped values, so it either can be stored in memory, file, db, etc...
|
ValueManager<K,V> |
DefaultLRUCachingMap.getValueManager() |
Constructor and Description |
---|
DefaultLRUCachingMap(LRUCachingMapConfiguration configuration,
ValueManager<K,V> valueManager)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMemoryValueManager<K,V>
A ValueManager which holds values in memory.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPersistenceValueManager<K,V>
The ValueManager ALL valuemanagers who persists their values should extend from.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilenameFileValueManager<V>
A subclass AbstractFileValueManager, where we determines that the Key is a String and its
file.getName() . |
class |
AbstractFileValueManager<K,V>
ValueWrapper to stored values in a file.
|
class |
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. |
class |
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. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFilenameFileReferenceValueManager
A ValueManager which holds file references.
Meaning that the key is a String which is stored in "file.getName()" and the value is File. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFilenameSerializableFileValueManager<V extends Serializable>
This ValueManager will serialize and deserialize the value V to a file where the Key(K) is a String which is used as filename.
|
class |
DefaultIndexedSerializableFileValueManager<K extends Serializable,V extends Serializable>
Default implementation of AbstractIndexedFileValueManager, which stores the value as serialized files.
|
class |
DefaultKeyedSerializableFileValueManager<K extends Serializable,V extends Keyed<K> & Serializable>
This ValueManager will serialize and deserialize the value V to a file where the key is stored in the Value.
This requries that V implements Serializable and Keyed . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFilenameXmlFileValueManager<V>
This ValueManager will save and load the value V to a file using JAXB.
|
class |
DefaultIndexedXmlFileValueManager<K extends Serializable,V>
The default implementation of AbstractIndexedFileValueManager which stores the value as XML files.
|
class |
DefaultKeyedXmlFileValueManager<K extends Serializable,V extends Keyed<K>>
This ValueManager will save and load the value V to a file using JAXB.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultGroupJPAEntityValueManager<K extends Serializable,V extends Serializable>
The valueManager which handles key,values for CachedGroupJPAEntity using the
CachedGroupJPAEntityRepository . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJPAEntityValueManager<K extends Serializable,V extends Serializable>
The valueManager which handles key,values for CachedJPAEntity using the
CachedJPAEntityRepository . |
Copyright © 2016. All rights reserved.