类 LockOptionsHelper
- java.lang.Object
-
- org.hibernate.jpa.internal.util.LockOptionsHelper
-
public final class LockOptionsHelper extends Object
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidapplyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptionsSupplier)Applies configuration properties on aLockOptionsinstance, passed as a supplier so to make it possible to skip allocating theLockOptionsinstance if there's nothing to set.
-
-
-
方法详细资料
-
applyPropertiesToLockOptions
public static void applyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptionsSupplier)
Applies configuration properties on aLockOptionsinstance, passed as a supplier so to make it possible to skip allocating theLockOptionsinstance if there's nothing to set.- 参数:
props- The configuration propertieslockOptionsSupplier- The reference to the lock to modify
-
-