TimestampsCache when a SQL DML statement executed by
Hibernate affects the corresponding table.
TimestampsCache when it is read
from a QueryResultsRegion by a QueryResultsCache.
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public TimestampsRegion | |
| public void | invalidate(String[] spaces, SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names) against the timestamp region data. |
| public 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. |
| public boolean | isUpToDate(Collection<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. |
| public void | preInvalidate(String[] spaces, SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names) against the timestamp region data. |
| clear | back to summary |
|---|---|
| public default void clear() throws CacheException | |
| destroy | back to summary |
|---|---|
| public default void destroy() | |
| getRegion | back to summary |
|---|---|
| public TimestampsRegion getRegion() The region used to store all timestamp data. | |
| invalidate | back to summary |
|---|---|
| public void invalidate(String[] spaces, SharedSessionContractImplementor session) Perform invalidation of the passed spaces (table names) against the timestamp region data. | |
| isUpToDate | back to summary |
|---|---|
| public 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. | |
| isUpToDate | back to summary |
|---|---|
| public boolean isUpToDate(Collection<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. | |
| preInvalidate | back to summary |
|---|---|
| public void preInvalidate(String[] spaces, SharedSessionContractImplementor session) Perform pre-invalidation of the passed spaces (table names) against the timestamp region data. | |