Package | Description |
---|---|
dk.heick.caching |
Modifier and Type | Method and Description |
---|---|
static <V extends Serializable> |
LRUCachingMapFactory.createFilenameSerializedCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a file serialization cache, where the values is serialized to files.
|
static <V> DefaultFileLRUCachingMap<String,V> |
LRUCachingMapFactory.createFilenameXmlCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a xml file marshall/unmarshall cache.
|
static <K extends Serializable,V extends Serializable> |
LRUCachingMapFactory.createIndexedSerializedCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod,
int indexSaveInterval)
Constructs a indexed serializable file cache.
|
static <K extends Serializable,V> |
LRUCachingMapFactory.createIndexedXmlCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod,
int indexSaveInterval)
Constructs a indexed XML file cache.
|
static <K extends Serializable,V extends Keyed<K> & Serializable> |
LRUCachingMapFactory.createKeyedSerializedCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a keyed serializable file cache.
|
static <K extends Serializable,V extends Keyed<K>> |
LRUCachingMapFactory.createKeyedXmlCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a keyed XML file cache.
|
Copyright © 2016. All rights reserved.