Interface FollowOnLockingPolicy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Determines whether a completed SQL statement requires follow-on locking.
The policy receives only the stable, focused facts relevant to that decision. In particular, it does not receive execution-level query options.
- Since:
- 8.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FollowOnLockingPolicyA policy which always requests follow-on locking.static final FollowOnLockingPolicyA policy which never requests follow-on locking. -
Method Summary
Modifier and TypeMethodDescriptionbooleanuseFollowOnLocking(FollowOnLockingRequest request) Whether the completed statement requires follow-on locking.
-
Field Details
-
NEVER
A policy which never requests follow-on locking. -
ALWAYS
A policy which always requests follow-on locking.
-
-
Method Details
-
useFollowOnLocking
Whether the completed statement requires follow-on locking.
-