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