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 DefaultFilenameFileReferenceLRUCachingMap |
LRUCachingMapFactory.createFileReferenceCache(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a file reference 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 Serializable> |
LRUCachingMapFactory.createJPACache(LRUCachingMapConfiguration configuration,
Class<? extends CachedJPAEntity<K,V>> entityClazz,
javax.persistence.EntityManagerFactory entityManagerFactory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a JPA cache for an entity.
|
static <K extends Serializable,V extends Serializable> |
LRUCachingMapFactory.createJPAGroupedCache(LRUCachingMapConfiguration configuration,
String group,
Class<? extends CachedGroupJPAEntity<K,V>> entityGroupClazz,
javax.persistence.EntityManagerFactory entityManagerFactory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructs a group JPA cache for an entity, where multiple cache instances can share the same table.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PersistencesRestoreMethod |
AbstractPersistenceValueManager.getPersistencesRestoreMethod()
The restoration method, when reconstructing the LRUCachingMap.
|
static PersistencesRestoreMethod |
PersistencesRestoreMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistencesRestoreMethod[] |
PersistencesRestoreMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AbstractPersistenceValueManager(PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
Constructor and Description |
---|
AbstractFilenameFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
AbstractFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor - see class description.
|
AbstractIndexedFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod,
int indexSaveInterval)
Constructor.
|
AbstractKeyedFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
Constructor and Description |
---|
DefaultFilenameFileReferenceLRUCachingMap(LRUCachingMapConfiguration configuration,
CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
DefaultFilenameFileReferenceValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
Constructor and Description |
---|
DefaultFilenameSerializableFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
DefaultIndexedSerializableFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod,
int indexSaveInterval) |
DefaultKeyedSerializableFileValueManager(CachingDirectory cachingDirectory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
Constructor and Description |
---|
DefaultFilenameXmlFileValueManager(CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
DefaultIndexedXmlFileValueManager(CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod,
int indexSaveInterval)
Constructor.
|
DefaultKeyedXmlFileValueManager(CachingDirectory cachingDirectory,
Class<V> xmlClazz,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
Constructor and Description |
---|
DefaultGroupJPAEntityValueManager(CachedGroupJPAEntityRepository<K,V> repository,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
DefaultGroupJPAEntityValueManager(String group,
Class<? extends CachedGroupJPAEntity<K,V>> clazz,
javax.persistence.EntityManagerFactory entityManagerFactory,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor.
|
Constructor and Description |
---|
DefaultJPAEntityValueManager(CachedJPAEntityRepository<K,V> repository,
PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
Copyright © 2016. All rights reserved.