Package org.hibernate.jpa.internal.util
Class LockOptionsHelper
- java.lang.Object
-
- org.hibernate.jpa.internal.util.LockOptionsHelper
-
public final class LockOptionsHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptionsSupplier)
Applies configuration properties on aLockOptions
instance, passed as a supplier so to make it possible to skip allocating theLockOptions
instance if there's nothing to set.
-
-
-
Method Detail
-
applyPropertiesToLockOptions
public static void applyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptionsSupplier)
Applies configuration properties on aLockOptions
instance, passed as a supplier so to make it possible to skip allocating theLockOptions
instance if there's nothing to set.- Parameters:
props
- The configuration propertieslockOptionsSupplier
- The reference to the lock to modify
-
-