Deprecated
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default void | |
| public Set | |
| public CollectionDataAccess | getCollectionRegionAccess(NavigableRole collectionRole)
Deprecated
Use
Find the cache data access strategy for the given collection.
EntityPersister#getNaturalIdCacheAccessStrategy() ()} instead
|
| public default QueryCache | getDefaultQueryCache()
Deprecated
Use
Get the default getDefaultQueryResultsCache instead.
QueryCache.
|
| public QueryResultsCache | getDefaultQueryResultsCache()
Deprecated
as a consequence of
Access to the "default" region used to store query results when caching
was requested but no region was explicitly named.
QueryResultsCache being deprecated.
|
| public EntityDataAccess | getEntityRegionAccess(NavigableRole
The NavigableRole representation of the root entity rootEntityName)
Deprecated
Use
Find the cache data access strategy for an entity.
EntityPersister#getCacheAccessStrategy() instead
|
| public Set | getNaturalIdAccessesInRegion(String legacyQualifiedRegionName)
Deprecated
No replacement - added just for support of the newly deprecated methods expecting a qualified region name
|
| public NaturalIdDataAccess | getNaturalIdCacheRegionAccessStrategy(NavigableRole
The NavigableRole representation of the root entity rootEntityName)
Deprecated
Use
Find the cache data access strategy for the given entity's natural-id cache.
EntityPersister#getNaturalIdCacheAccessStrategy() ()} instead
|
| public default QueryCache | |
| public default QueryCache | getQueryCache(String regionName)
Deprecated
Use
getQueryResultsCache(String) instead, but using unqualified name
|
| public QueryResultsCache | getQueryResultsCache(String regionName)
Deprecated
as a consequence of
Get query cache by region name or create a new one if none exist.
QueryResultsCache being deprecated.
|
| public QueryResultsCache | getQueryResultsCacheStrictly(String regionName)
Deprecated
as a consequence of
Get the named QueryResultRegionAccess but not creating one if it
does not already exist.
QueryResultsCache being deprecated.
|
| public Region | |
| public default Region | getRegionByLegacyName(String legacyName)
Deprecated
No replacement - added just for support of the newly deprecated methods expecting a qualified region name
|
| public RegionFactory | |
| public String[] | Returns: All cache region names
Deprecated
(since 5.3) Use
Get the *qualified* names of all regions caching entity and collection data.
CacheImplementor#getCacheRegionNames() instead
|
| public SessionFactoryImplementor | getSessionFactory()
Redeclares org.
Deprecated
as a consequence of
Access to the SessionFactory this Cache is bound to.
SessionFactoryImplementor being deprecated.
|
| public TimestampsCache | getTimestampsCache()
Deprecated
as a consequence of
Find the cache data access strategy for Hibernate's timestamps cache.
TimestampsCache being deprecated.
|
| public default UpdateTimestampsCache | getUpdateTimestampsCache()
Deprecated
Use
Get getTimestampsCache instead
UpdateTimestampsCache instance managed by the SessionFactory.
|
| public void | prime(Set<DomainDataRegionConfig> cacheRegionConfigs)
An initialization phase allowing the caching provider to prime itself from the passed configs |
| public default String | unqualifyRegionName(String name)
Deprecated
(since 5.3) No replacement - added just to continue some backwards compatibility
in supporting the newly deprecated methods expecting a qualified (prefix +) region name
|
| close | back to summary |
|---|---|
| public void close() Close this "cache", releasing all underlying resources. | |
| evictQueries | back to summary |
|---|---|
| public default void evictQueries() throws HibernateException Clean up the default query cache | |
| getCacheRegionNames | back to summary |
|---|---|
| public Set The unqualified name of all regions. Intended for use with
| |
| getCollectionRegionAccess | back to summary |
|---|---|
| public CollectionDataAccess getCollectionRegionAccess(NavigableRole collectionRole)
Deprecated Use Find the cache data access strategy for the given collection. Will
return API Note It is only valid to call this method after
| |
| getDefaultQueryCache | back to summary |
|---|---|
| public default QueryCache getDefaultQueryCache()
Deprecated Use Get the default
| |
| getDefaultQueryResultsCache | back to summary |
|---|---|
| public QueryResultsCache getDefaultQueryResultsCache()
Deprecated as a consequence of Access to the "default" region used to store query results when caching
was requested but no region was explicitly named. Will return | |
| getEntityRegionAccess | back to summary |
|---|---|
| public EntityDataAccess getEntityRegionAccess(NavigableRole rootEntityName)
Deprecated Use Find the cache data access strategy for an entity. Will
return API Note It is only valid to call this method after
| |
| getNaturalIdAccessesInRegion | back to summary |
|---|---|
| public Set Deprecated No replacement - added just for support of the newly deprecated methods expecting a qualified region name
| |
| getNaturalIdCacheRegionAccessStrategy | back to summary |
|---|---|
| public NaturalIdDataAccess getNaturalIdCacheRegionAccessStrategy(NavigableRole rootEntityName)
Deprecated Use Find the cache data access strategy for the given entity's natural-id cache.
Will return API Note It is only valid to call this method after
| |
| getQueryCache | back to summary |
|---|---|
| public default QueryCache getQueryCache()
Deprecated Use Get the default
| |
| getQueryCache | back to summary |
|---|---|
| public default QueryCache getQueryCache(String regionName) throws HibernateException
Deprecated Use
| |
| getQueryResultsCache | back to summary |
|---|---|
| public QueryResultsCache getQueryResultsCache(String regionName)
Deprecated as a consequence of Get query cache by region name or create a new one if none exist.
If the region name is null, then default query cache region will be returned.
Will return | |
| getQueryResultsCacheStrictly | back to summary |
|---|---|
| public QueryResultsCache getQueryResultsCacheStrictly(String regionName)
Deprecated as a consequence of Get the named QueryResultRegionAccess but not creating one if it
does not already exist. This is intended for use by statistics.
Will return
| |
| getRegion | back to summary |
|---|---|
| public Region getRegion(String regionName) Get a cache Region by name API Note It is only valid to call this method after
| |
| getRegionByLegacyName | back to summary |
|---|---|
| public default Region getRegionByLegacyName(String legacyName)
Deprecated No replacement - added just for support of the newly deprecated methods expecting a qualified region name
| |
| getRegionFactory | back to summary |
|---|---|
| public RegionFactory getRegionFactory() The underlying RegionFactory in use. API Note CacheImplementor acts partially as a wrapper for details of interacting with the configured RegionFactory. Care should be taken when accessing the RegionFactory directly. | |
| getSecondLevelCacheRegionNames | back to summary |
|---|---|
| public String[] getSecondLevelCacheRegionNames()
Deprecated (since 5.3) Use Get the *qualified* names of all regions caching entity and collection data.
| |
| getSessionFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getSessionFactory() Redeclares org. Doc from org. Deprecated as a consequence of Access to the SessionFactory this Cache is bound to.
| |
| getTimestampsCache | back to summary |
|---|---|
| public TimestampsCache getTimestampsCache()
Deprecated as a consequence of Find the cache data access strategy for Hibernate's timestamps cache.
Will return
| |
| getUpdateTimestampsCache | back to summary |
|---|---|
| public default UpdateTimestampsCache getUpdateTimestampsCache()
Deprecated Use Get
| |
| prime | back to summary |
|---|---|
| public void prime(Set<DomainDataRegionConfig> cacheRegionConfigs) An initialization phase allowing the caching provider to prime itself from the passed configs
| |
| unqualifyRegionName | back to summary |
|---|---|
| public default String unqualifyRegionName(String name)
Deprecated (since 5.3) No replacement - added just to continue some backwards compatibility in supporting the newly deprecated methods expecting a qualified (prefix +) region name
| |