Top Description Fields Constructors Methods
org.hibernate.sql.results.caching.internal

public Class QueryCachePutManagerEnabledImpl

extends Object
implements QueryCachePutManager
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.caching.QueryCachePutManager
Imports
java.util.ArrayList, .Arrays, .List, org.hibernate.cache.spi.QueryKey, .QueryResultsCache, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.sql.results.caching.QueryCachePutManager, org.hibernate.sql.results.jdbc.spi.JdbcValuesMetadata, org.hibernate.stat.spi.StatisticsImplementor

QueryCachePutManager implementation for cases where we will be putting Query results into the cache.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final List<Object>
private final QueryResultsCache
private final String
private final QueryKey
private final StatisticsImplementor

Constructor Summary

AccessConstructor and Description
public
QueryCachePutManagerEnabledImpl(QueryResultsCache queryCache, StatisticsImplementor statistics, QueryKey queryKey, String queryIdentifier, JdbcValuesMetadata metadataForCache)

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dataToCacheback to summary
private final List<Object> dataToCache
queryCacheback to summary
private final QueryResultsCache queryCache
queryIdentifierback to summary
private final String queryIdentifier
queryKeyback to summary
private final QueryKey queryKey
statisticsback to summary
private final StatisticsImplementor statistics

Constructor Detail

QueryCachePutManagerEnabledImplback to summary
public QueryCachePutManagerEnabledImpl(QueryResultsCache queryCache, StatisticsImplementor statistics, QueryKey queryKey, String queryIdentifier, JdbcValuesMetadata metadataForCache)

Method Detail

finishUpback to summary
public void finishUp(SharedSessionContractImplementor session)

Implements org.hibernate.sql.results.caching.QueryCachePutManager.finishUp.

Annotations
@Override
registerJdbcRowback to summary
public void registerJdbcRow(Object[] values)

Implements org.hibernate.sql.results.caching.QueryCachePutManager.registerJdbcRow.

Annotations
@Override