A repository of TPCacheAdapters.
Type | Name and description |
---|---|
TPCacheAdapter<T> |
getTPCacheAdapter(PersistentEntity entity) Returns TPCacheAdapter for the specified PersistentEntity. |
void |
setTPCacheAdapter(PersistentEntity entity, TPCacheAdapter<T> cacheAdapter) Sets TPCacheAdapter for the specified PersistentEntity. |
void |
setTPCacheAdapter(java.lang.Class entityJavaClass, TPCacheAdapter<T> cacheAdapter) Sets TPCacheAdapter for the specified java class of PersistentEntity. |
void |
setTPCacheAdapter(java.lang.String entityJavaClassFQN, TPCacheAdapter<T> cacheAdapter) Sets TPCacheAdapter for the specified FQN java class of PersistentEntity. |
Returns TPCacheAdapter for the specified PersistentEntity.
Sets TPCacheAdapter for the specified PersistentEntity. If the specified entity had another cache adapter before, the old one is ignored after this call.
Sets TPCacheAdapter for the specified java class of PersistentEntity. If the specified entity had another cache adapter before, the old one is ignored after this call.
entityJavaClass
- equivalent to PersistentEntity.getJavaClass()Sets TPCacheAdapter for the specified FQN java class of PersistentEntity. If the specified entity had another cache adapter before, the old one is ignored after this call.
entityJavaClassFQN
- equivalent to PersistentEntity.getJavaClass().getName()