| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| 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. |
| private boolean | isSpaceOutOfDate(String space, Long timestamp, SharedSessionContractImplementor session, StatisticsImplementor statistics)
|
| public boolean | isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
Implements org. |
| public boolean | isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
Implements org. |
| public void | preInvalidate(String[] spaces, SharedSessionContractImplementor session)
Implements org. |
| DEBUG_ENABLED | back to summary |
|---|---|
| public static final boolean DEBUG_ENABLED | |
| 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(String space, SharedSessionContractImplementor session) | |
| getRegion | back to summary |
|---|---|
| public TimestampsRegion getRegion() Implements org. Doc from org. The region used to store all timestamp 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 timestamp region data.
| |
| isSpaceOutOfDate | back to summary |
|---|---|
| private boolean isSpaceOutOfDate(String space, Long timestamp, SharedSessionContractImplementor session, StatisticsImplementor statistics) | |
| 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.
| |
| isUpToDate | back to summary |
|---|---|
| public boolean isUpToDate(Collection<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 timestamp region data.
| |