public abstract class ThirdPartyCacheEntityPersister<T> extends LockableEntityPersister
An EntityPersister that supports third party cache adapters
Modifiers | Name | Description |
---|---|---|
protected TPCacheAdapterRepository<T> |
cacheAdapterRepository |
Fields inherited from class | Fields |
---|---|
class LockableEntityPersister |
DEFAULT_TIMEOUT |
class EntityPersister |
mappingContext, persistentEntity, proxyFactory, publisher, reflector, session |
Constructor and description |
---|
ThirdPartyCacheEntityPersister
(MappingContext mappingContext, PersistentEntity entity, Session session, org.springframework.context.ApplicationEventPublisher publisher) |
ThirdPartyCacheEntityPersister
(MappingContext mappingContext, PersistentEntity entity, Session session, org.springframework.context.ApplicationEventPublisher publisher, TPCacheAdapterRepository<T> cacheAdapterRepository) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected T |
getFromTPCache(PersistentEntity persistentEntity, java.io.Serializable id) |
|
protected void |
updateTPCache(PersistentEntity persistentEntity, T e, java.io.Serializable id) |