类 AbstractSelectLockingStrategy
- java.lang.Object
-
- org.hibernate.dialect.lock.AbstractSelectLockingStrategy
-
- 所有已实现的接口:
LockingStrategy
- 直接已知子类:
PessimisticReadSelectLockingStrategy,PessimisticWriteSelectLockingStrategy,SelectLockingStrategy
public abstract class AbstractSelectLockingStrategy extends Object implements LockingStrategy
BaseLockingStrategyimplementation to support implementations based on issuing SQL SELECT statements- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractSelectLockingStrategy(Lockable lockable, LockMode lockMode)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected StringdetermineSql(int timeout)protected abstract StringgenerateLockString(int lockTimeout)protected LockablegetLockable()protected LockModegetLockMode()protected StringgetNoWaitSql()protected StringgetSkipLockedSql()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.dialect.lock.LockingStrategy
lock
-
-
-
-
方法详细资料
-
getLockable
protected Lockable getLockable()
-
getLockMode
protected LockMode getLockMode()
-
generateLockString
protected abstract String generateLockString(int lockTimeout)
-
determineSql
protected String determineSql(int timeout)
-
getNoWaitSql
protected String getNoWaitSql()
-
getSkipLockedSql
protected String getSkipLockedSql()
-
-