Deprecated
as a consequence of UpdateTimestampsCache being deprecated. See corresponding docs for further information.
TimestampsRegion adding handling of stale results
| Modifier and Type | Method and Description |
|---|---|
| public default void | clear()
Implements org. |
| public default void | |
| public TimestampsRegion | getRegion()
Redeclares org. |
| public void | invalidate(String[] spaces, SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names) against the timestamps region data |
| public default void | invalidate(Serializable[]
The spaces to invalidate. spaces, SharedSessionContractImplementor session)Implements org. |
| public boolean | Returns: Whether all those spaces are up-to-dateThe 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)Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results. |
| public default boolean | isUpToDate(Set<Serializable>
The spaces to check spaces, Long The timestamp against which to check. timestamp, SharedSessionContractImplementor session)Implements org. |
| public void | preInvalidate(String[] spaces, SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names) against the timestamps region data |
| public default void | preInvalidate(Serializable[]
The spaces to pre-invalidate spaces, SharedSessionContractImplementor session)Implements org. |
| clear | back to summary |
|---|---|
| public default void clear() throws CacheException Implements org. Doc from org. Clear the update-timestamps data.
| |
| destroy | back to summary |
|---|---|
| public default void destroy() Implements org. Doc from org. Destroys the cache.
| |
| getRegion | back to summary |
|---|---|
| public TimestampsRegion getRegion() Redeclares org. The region used to store all timestamps data
| |
| invalidate | back to summary |
|---|---|
| public void invalidate(String[] spaces, SharedSessionContractImplementor session) Perform invalidation of the passed spaces (table names) against the timestamps region data | |
| invalidate | back to summary |
|---|---|
| public default void invalidate(Serializable[] spaces, SharedSessionContractImplementor session) Implements org. Doc from org. Perform invalidation.
| |
| 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 default boolean isUpToDate(Set<Serializable> spaces, Long timestamp, SharedSessionContractImplementor session) Implements org. Doc from org. Perform an up-to-date check for the given set of query spaces.
| |
| preInvalidate | back to summary |
|---|---|
| public void preInvalidate(String[] spaces, SharedSessionContractImplementor session) Perform pre-invalidation of the passed spaces (table names) against the timestamps region data | |
| preInvalidate | back to summary |
|---|---|
| public default void preInvalidate(Serializable[] spaces, SharedSessionContractImplementor session) Implements org. Doc from org. Perform pre-invalidation.
| |