Package | Description |
---|---|
org.quartz.impl.jdbcjobstore |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateLockRowSemaphore.executeSQL(Connection conn,
String lockName,
String expandedSQL)
Execute the SQL select for update that will lock the proper database row.
|
protected abstract void |
DBSemaphore.executeSQL(Connection conn,
String lockName,
String expandedSQL)
Execute the SQL that will lock the proper database row.
|
protected void |
StdRowLockSemaphore.executeSQL(Connection conn,
String lockName,
String expandedSQL)
Execute the SQL select for update that will lock the proper database row.
|
protected Transaction |
JTANonClusteredSemaphore.getTransaction()
Helper method to get the current
from the in JNDI. |
boolean |
Semaphore.isLockOwner(Connection conn,
String lockName)
Determine whether the calling thread owns a lock on the identified
resource.
|
boolean |
DBSemaphore.obtainLock(Connection conn,
String lockName)
Grants a lock on the identified resource to the calling thread (blocking
until it is available).
|
boolean |
JTANonClusteredSemaphore.obtainLock(Connection conn,
String lockName)
Grants a lock on the identified resource to the calling thread (blocking
until it is available).
|
boolean |
Semaphore.obtainLock(Connection conn,
String lockName)
Grants a lock on the identified resource to the calling thread (blocking
until it is available).
|
void |
JTANonClusteredSemaphore.releaseLock(Connection conn,
String lockName)
Release the lock on the identified resource if it is held by the calling
thread, unless currently in a JTA transaction.
|
void |
Semaphore.releaseLock(Connection conn,
String lockName)
Release the lock on the identified resource if it is held by the calling
thread.
|
protected void |
JTANonClusteredSemaphore.releaseLock(String lockName,
boolean fromSynchronization)
Release the lock on the identified resource if it is held by the calling
thread, unless currently in a JTA transaction.
|
Copyright © 2014. All rights reserved.