Class TransactionConcurrencies.Builder
java.lang.Object
org.hibernate.dialect.lock.spi.TransactionConcurrencies.Builder
- Enclosing class:
TransactionConcurrencies
Mutable builder; built profiles do not retain its state.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionblocking(Operation preceding, Operation concurrent, BlockingDuration duration) Declare a directional conflict.build()Create an independent immutable snapshot.read(Operation operation, ReadGuarantees guarantees) Add an actual supported read operation and copy its guarantees.
-
Method Details
-
read
Add an actual supported read operation and copy its guarantees. -
blocking
public TransactionConcurrencies.Builder blocking(Operation preceding, Operation concurrent, BlockingDuration duration) Declare a directional conflict. Both operations must be supported at build time. -
build
Create an independent immutable snapshot.
-