Package | Description |
---|---|
dk.heick.caching | |
dk.heick.caching.memory | |
dk.heick.caching.persistences.file | |
dk.heick.caching.persistences.file.reference |
Modifier and Type | Method and Description |
---|---|
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,V> DefaultLRUCachingMap<K,V> |
LRUCachingMapFactory.createMemoryCache(LRUCachingMapConfiguration configuration)
Constructs a memory cache.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMemoryLRUCachingMap<K,V>
Default memory implementation for a DefaultLRUCachingMap.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFileLRUCachingMap<K,V>
The default LRUCachingMap for file handling.
The "AbstractValueWrapper" is always cast to a "DefaultFileValueWrapper". |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFilenameFileReferenceLRUCachingMap
Default implementation to support file references, Memory links to file.
The key is a String, which is stored in the filename (File.getName()) and be reconstructed. |
Copyright © 2016. All rights reserved.