Deprecated
as a consequence of CacheImplementor being deprecated. See corresponding docs for further information.
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares org. |
| public default void | evictQueries()
Overrides default org. |
| public Set | getCacheRegionNames()
Redeclares org. |
| public CollectionDataAccess | getCollectionRegionAccess(NavigableRole collectionRole)
Redeclares org.
Deprecated
Use
Find the cache data access strategy for the given collection.
EntityPersister#getNaturalIdCacheAccessStrategy() ()} instead
|
| public default QueryCache | getDefaultQueryCache()
Overrides default org.
Deprecated
Use
Get the default getDefaultQueryResultsCache instead.
QueryCache.
|
| public QueryResultsCache | getDefaultQueryResultsCache()
Redeclares org.
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)Redeclares org.
Deprecated
Use
Find the cache data access strategy for an entity.
EntityPersister#getCacheAccessStrategy() instead
|
| public Set | getNaturalIdAccessesInRegion(String legacyQualifiedRegionName)
Redeclares org.
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)Redeclares org.
Deprecated
Use
Find the cache data access strategy for the given entity's natural-id cache.
EntityPersister#getNaturalIdCacheAccessStrategy() ()} instead
|
| public default QueryCache | getQueryCache()
Overrides default org.
Deprecated
Use
Get the default getDefaultQueryResultsCache instead.
QueryCache.
|
| public default QueryCache | getQueryCache(String regionName)
Overrides default org.
Deprecated
Use
getQueryResultsCache(String) instead, but using unqualified name
|
| public QueryResultsCache | getQueryResultsCache(String regionName)
Redeclares org.
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)
Redeclares org.
Deprecated
as a consequence of
Get the named QueryResultRegionAccess but not creating one if it
does not already exist.
QueryResultsCache being deprecated.
|
| public Region | getRegion(String regionName)
Redeclares org. |
| public default Region | getRegionByLegacyName(String legacyName)
Overrides default org.
Deprecated
No replacement - added just for support of the newly deprecated methods expecting a qualified region name
|
| public RegionFactory | getRegionFactory()
Redeclares org. |
| public String[] | Returns: All cache region namesRedeclares org.
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()
Redeclares org.
Deprecated
as a consequence of
Find the cache data access strategy for Hibernate's timestamps cache.
TimestampsCache being deprecated.
|
| public default UpdateTimestampsCache | getUpdateTimestampsCache()
Overrides default org.
Deprecated
Use
Get getTimestampsCache instead
UpdateTimestampsCache instance managed by the SessionFactory.
|
| public void | prime(Set<DomainDataRegionConfig> cacheRegionConfigs)
Redeclares org. |
| public default String | unqualifyRegionName(String name)
Overrides default org.
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() Redeclares org. Close this "cache", releasing all underlying resources. | |
| evictQueries | back to summary |
|---|---|
| public default void evictQueries() throws HibernateException Overrides default org. Clean up the default query cache | |
| getCacheRegionNames | back to summary |
|---|---|
| public Set Redeclares org. The unqualified name of all regions. Intended for use with
| |
| getCollectionRegionAccess | back to summary |
|---|---|
| public CollectionDataAccess getCollectionRegionAccess(NavigableRole collectionRole) Redeclares org. 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() Overrides default org. Deprecated Use Get the default
| |
| getDefaultQueryResultsCache | back to summary |
|---|---|
| public QueryResultsCache getDefaultQueryResultsCache() Redeclares org. 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) Redeclares org. 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 Redeclares org. 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) Redeclares org. 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() Overrides default org. Deprecated Use Get the default
| |
| getQueryCache | back to summary |
|---|---|
| public default QueryCache getQueryCache(String regionName) throws HibernateException Overrides default org. Deprecated Use
| |
| getQueryResultsCache | back to summary |
|---|---|
| public QueryResultsCache getQueryResultsCache(String regionName) Redeclares org. 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) Redeclares org. 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) Redeclares org. Get a cache Region by name. If there is both a API Note It is only valid to call this method after
| |
| getRegionByLegacyName | back to summary |
|---|---|
| public default Region getRegionByLegacyName(String legacyName) Overrides default org. Deprecated No replacement - added just for support of the newly deprecated methods expecting a qualified region name
| |
| getRegionFactory | back to summary |
|---|---|
| public RegionFactory getRegionFactory() Redeclares org. 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() Redeclares org. 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() Redeclares org. 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() Overrides default org. Deprecated Use Get
| |
| prime | back to summary |
|---|---|
| public void prime(Set<DomainDataRegionConfig> cacheRegionConfigs) Redeclares org. An initialization phase allowing the caching provider to prime itself from the passed configs
| |
| unqualifyRegionName | back to summary |
|---|---|
| public default String unqualifyRegionName(String name) Overrides default org. 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
| |