public abstract class AbstractSelectLockingStrategy extends 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 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, wait
lock
protected Lockable getLockable()
protected LockMode getLockMode()
protected abstract String generateLockString(int lockTimeout)
protected String determineSql(int timeout)
protected String getNoWaitSql()
protected String getSkipLockedSql()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.