public class CacheableRelationalDao<T> extends RelationalDao<T>
RelationalDao| Constructor and Description |
|---|
CacheableRelationalDao(List<org.hibernate.SessionFactory> sessionFactories,
Class<T> entityClass,
ShardCalculator<String> shardCalculator,
RelationalCache<T> cache,
ShardInfoProvider shardInfoProvider,
TransactionObserver observer) |
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
get(String parentKey,
Object key) |
Optional<T> |
save(String parentKey,
T entity) |
List<T> |
select(String parentKey,
org.hibernate.criterion.DetachedCriteria criteria,
int first,
int numResults) |
count, countScatterGather, createOrUpdate, exists, get, getKeyField, lockAndGetExecutor, runInSession, save, saveAll, saveAndGetExecutor, scatterGather, select, update, update, updateAll, updateUsingQuery, updateUsingQueryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetShardCalculatorpublic CacheableRelationalDao(List<org.hibernate.SessionFactory> sessionFactories, Class<T> entityClass, ShardCalculator<String> shardCalculator, RelationalCache<T> cache, ShardInfoProvider shardInfoProvider, TransactionObserver observer)
Copyright © 2016–2023. All rights reserved.