Deprecated
as a consequence of QueryResultsCache being deprecated. See corresponding docs for further information.
TimestampsCache to help in recognizing
stale query results.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final QueryResultsRegion | |
| private static final CoreMessageLogger | |
| private final TimestampsCache | timestampsCache
Deprecated
as a consequence of
TimestampsCache being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv | QueryResultsCacheImpl(QueryResultsRegion cacheRegion, TimestampsCache timestampsCache)
Deprecated
as a consequence of
TimestampsCache being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private List | assembleCachedResult(final QueryKey key, final List<E> cached, boolean singleResult, final Type[] returnTypes, final SharedSessionContractImplementor session)
|
| public List | get(QueryKey
The cache key key, Set<Serializable> The query spaces (used in invalidation plus validation checks) spaces, final Type[] returnTypes, SharedSessionContractImplementor The originating session session)Implements org. |
| public List | get(final QueryKey
The cache key key, final String[] The query spaces (used in invalidation plus validation checks) spaces, final Type[] returnTypes, final SharedSessionContractImplementor The originating session session)Implements org. |
| private QueryResultsCacheImpl. | |
| public QueryResultsRegion | getRegion()
Implements org. |
| private static void | |
| private static void | |
| private static void | |
| public boolean | put(final QueryKey
The cache key key, final List<E> The results to cache results, final Type[] returnTypes, final SharedSessionContractImplementor The originating session session)Implements org. |
| public String |
| cacheRegion | back to summary |
|---|---|
| private final QueryResultsRegion cacheRegion | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| timestampsCache | back to summary |
|---|---|
| private final TimestampsCache timestampsCache
Deprecated as a consequence of | |
| QueryResultsCacheImpl | back to summary |
|---|---|
| pack-priv QueryResultsCacheImpl(QueryResultsRegion cacheRegion, TimestampsCache timestampsCache)
Deprecated as a consequence of | |
| assembleCachedResult | back to summary |
|---|---|
private List
| |
| get | back to summary |
|---|---|
| public List Implements org. Doc from org. Get results from the cache.
| |
| get | back to summary |
|---|---|
| public List Implements org. Doc from org. Get results from the cache.
| |
| getCachedData | back to summary |
|---|---|
| private QueryResultsCacheImpl. | |
| getRegion | back to summary |
|---|---|
| public QueryResultsRegion getRegion() Implements org. Doc from org. The underlying cache region being used.
| |
| logCachedResultDetails | back to summary |
|---|---|
| private static void logCachedResultDetails(QueryKey key, Set<E> querySpaces, Type[] returnTypes, List<E> result) | |
| logCachedResultRowDetails | back to summary |
|---|---|
| private static void logCachedResultRowDetails(Type[] returnTypes, Object result) | |
| logCachedResultRowDetails | back to summary |
|---|---|
| private static void logCachedResultRowDetails(Type[] returnTypes, Object[] tuple) | |
| put | back to summary |
|---|---|
| public boolean put(final QueryKey key, final List<E> results, final Type[] returnTypes, final SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. Put a result into the query cache.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| results | back to summary |
|---|---|
| private final List<E> results | |
| timestamp | back to summary |
|---|---|
| private final long timestamp | |
| CacheItem | back to summary |
|---|---|
| pack-priv CacheItem(long timestamp, List<E> results) | |