Interface LockingClauseRenderer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @SPI({USE,IMPLEMENT,SUPPLY}) public interface LockingClauseRenderer

Renders a complete pessimistic locking clause from a focused request.

The returned fragment includes any leading whitespace needed to separate it from the preceding SQL. An empty fragment indicates that no locking clause should be rendered.

Since:
8.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A renderer for profiles without statement-level locking clauses.
  • Method Summary

    Modifier and Type
    Method
    Description
    Render the locking clause for the given request.
  • Field Details

    • NO_OP

      static final LockingClauseRenderer NO_OP
      A renderer for profiles without statement-level locking clauses.
  • Method Details