public abstract class AbstractSelectLockingStrategy extends Object implements LockingStrategy
LockingStrategy implementation to support implementations
 based on issuing SQL SELECT statements| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractSelectLockingStrategy(Lockable lockable,
                             LockMode lockMode)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
determineSql(int timeout)  | 
protected abstract String | 
generateLockString(int lockTimeout)  | 
protected Lockable | 
getLockable()  | 
protected LockMode | 
getLockMode()  | 
protected String | 
getNoWaitSql()  | 
protected String | 
getSkipLockedSql()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlockprotected Lockable getLockable()
protected LockMode getLockMode()
protected abstract String generateLockString(int lockTimeout)
protected String determineSql(int timeout)
protected String getNoWaitSql()
protected String getSkipLockedSql()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.