Package | Description |
---|---|
dk.heick.caching | |
dk.heick.caching.persistences.jpa.single |
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.
|
Modifier and Type | Method and Description |
---|---|
protected CachedJPAEntity<K,V> |
DefaultJPAEntityValueManager.constructEntity(K key,
V value,
Date expireDateTime)
Constructs an instance of "CachedGroupJPAEntity" clazz.
|
CachedJPAEntity<K,V> |
DefaultCachedJPAEntityRepository.get(K key) |
CachedJPAEntity<K,V> |
CachedJPAEntityRepository.get(K key)
Gets a row with the key.
|
Modifier and Type | Method and Description |
---|---|
List<CachedJPAEntity<K,V>> |
DefaultCachedJPAEntityRepository.getAll() |
List<CachedJPAEntity<K,V>> |
CachedJPAEntityRepository.getAll()
Get all rows from the table
|
Class<? extends CachedJPAEntity<K,V>> |
DefaultCachedJPAEntityRepository.getEntityClazz() |
Class<? extends CachedJPAEntity<K,V>> |
CachedJPAEntityRepository.getEntityClazz()
Gets the class instance of CachedJPAEntity.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCachedJPAEntityRepository.insert(CachedJPAEntity<K,V> entity) |
void |
CachedJPAEntityRepository.insert(CachedJPAEntity<K,V> entity)
This will insert a row in the table.
|
Constructor and Description |
---|
DefaultCachedJPAEntityRepository(Class<? extends CachedJPAEntity<K,V>> entityClazz,
javax.persistence.EntityManagerFactory entityManagerFactory)
Constructor.
|
Copyright © 2016. All rights reserved.