public class TimestampsCacheEnabledImpl extends Object implements TimestampsCache
| Constructor and Description |
|---|
TimestampsCacheEnabledImpl(TimestampsRegion timestampsRegion) |
| Modifier and Type | Method and Description |
|---|---|
TimestampsRegion |
getRegion()
The region used to store all timestamps data
|
void |
invalidate(String[] spaces,
SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names)
against the timestamps region data
|
boolean |
isUpToDate(String[] spaces,
Long timestamp,
SharedSessionContractImplementor session)
Perform an up-to-date check for the given set of query spaces as
part of verifying the validity of cached query results.
|
void |
preInvalidate(String[] spaces,
SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names)
against the timestamps region data
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, destroy, invalidate, isUpToDate, preInvalidatepublic TimestampsCacheEnabledImpl(TimestampsRegion timestampsRegion)
public TimestampsRegion getRegion()
TimestampsCachegetRegion in interface TimestampsCachegetRegion in interface UpdateTimestampsCachepublic void preInvalidate(String[] spaces, SharedSessionContractImplementor session)
TimestampsCachepreInvalidate in interface TimestampsCachepublic void invalidate(String[] spaces, SharedSessionContractImplementor session)
TimestampsCacheinvalidate in interface TimestampsCachepublic boolean isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
TimestampsCacheisUpToDate in interface TimestampsCachespaces - The spaces to checktimestamp - The timestamp from the transaction when the query results were cached.session - The session whether this check originated.Copyright © 2019 JBoss by Red Hat. All rights reserved.