Top Description Fields Constructors Methods
org.hibernate.cache.internal

public Class TimestampsCacheDisabledImpl

extends Object
implements TimestampsCache
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.spi.TimestampsCache
Imports
java.util.Collection, org.hibernate.cache.spi.TimestampsCache, .TimestampsRegion, org.hibernate.engine.spi.SharedSessionContractImplementor, org.jboss.logging.Logger

TimestampsRegionAccess implementation for cases where query results caching (or second level caching overall) is disabled.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TimestampsRegion
getRegion()

Implements org.hibernate.cache.spi.TimestampsCache.getRegion.

The region used to store all timestamp data.
public void
invalidate(String[] spaces, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.invalidate.

Perform invalidation of the passed spaces (table names) against the timestamp region data.
public boolean
isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.
public boolean
isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.
public void
preInvalidate(String[] spaces, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.preInvalidate.

Perform pre-invalidation of the passed spaces (table names) against the timestamp region data.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

logback to summary
private static final Logger log

Constructor Detail

TimestampsCacheDisabledImplback to summary
public TimestampsCacheDisabledImpl()

Method Detail

getRegionback to summary
public TimestampsRegion getRegion()

Implements org.hibernate.cache.spi.TimestampsCache.getRegion.

Doc from org.hibernate.cache.spi.TimestampsCache.getRegion.

The region used to store all timestamp data.

Annotations
@Override
invalidateback to summary
public void invalidate(String[] spaces, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.invalidate.

Doc from org.hibernate.cache.spi.TimestampsCache.invalidate.

Perform invalidation of the passed spaces (table names) against the timestamp region data.

Annotations
@Override
isUpToDateback to summary
public boolean isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Doc from org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.

Annotations
@Override
isUpToDateback to summary
public boolean isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Doc from org.hibernate.cache.spi.TimestampsCache.isUpToDate.

Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.

Annotations
@Override
preInvalidateback to summary
public void preInvalidate(String[] spaces, SharedSessionContractImplementor session)

Implements org.hibernate.cache.spi.TimestampsCache.preInvalidate.

Doc from org.hibernate.cache.spi.TimestampsCache.preInvalidate.

Perform pre-invalidation of the passed spaces (table names) against the timestamp region data.

Annotations
@Override