Deprecated
as a consequence of TimestampsCache being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final TimestampsRegion |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Long | |
| public TimestampsRegion | getRegion()
Implements org. |
| public void | invalidate(String[] spaces, SharedSessionContractImplementor session)
Implements org. |
| public boolean | isUpToDate(String[]
The spaces to check spaces, Long The timestamp from the transaction when the query results were cached. timestamp, SharedSessionContractImplementor The session whether this check originated. session)Implements org. |
| public void | preInvalidate(String[] spaces, SharedSessionContractImplementor session)
Implements org. |
| log | back to summary |
|---|---|
| private static final Logger log | |
| timestampsRegion | back to summary |
|---|---|
| private final TimestampsRegion timestampsRegion | |
| TimestampsCacheEnabledImpl | back to summary |
|---|---|
| public TimestampsCacheEnabledImpl(TimestampsRegion timestampsRegion) | |
| getLastUpdateTimestampForSpace | back to summary |
|---|---|
| private Long getLastUpdateTimestampForSpace(Serializable space, SharedSessionContractImplementor session) | |
| getRegion | back to summary |
|---|---|
| public TimestampsRegion getRegion() Implements org. Doc from org. The region used to store all timestamps data
| |
| invalidate | back to summary |
|---|---|
| public void invalidate(String[] spaces, SharedSessionContractImplementor session) Implements org. Doc from org. Perform invalidation of the passed spaces (table names) against the timestamps region data
| |
| isUpToDate | back to summary |
|---|---|
| public boolean isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session) Implements org. Doc from org. 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) Implements org. Doc from org. Perform pre-invalidation of the passed spaces (table names) against the timestamps region data
| |