Package | Description |
---|---|
org.quartz.impl.jdbcjobstore |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateLockRowSemaphore.executeSQL(Connection conn,
String lockName,
String expandedSQL,
String expandedInsertSQL)
Execute the SQL select for update that will lock the proper database row.
|
protected void |
StdRowLockSemaphore.executeSQL(Connection conn,
String lockName,
String expandedSQL,
String expandedInsertSQL)
Execute the SQL select for update that will lock the proper database row.
|
protected abstract void |
DBSemaphore.executeSQL(Connection conn,
String lockName,
String theExpandedSQL,
String theExpandedInsertSQL)
Execute the SQL that will lock the proper database row.
|
protected Transaction |
JTANonClusteredSemaphore.getTransaction()
Helper method to get the current
from the in JNDI. |
boolean |
Semaphore.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 |
DBSemaphore.obtainLock(Connection conn,
String lockName)
Grants a lock on the identified resource to the calling thread (blocking
until it is available).
|
void |
Semaphore.releaseLock(String lockName)
Release the lock on the identified resource if it is held by the calling
thread.
|
void |
JTANonClusteredSemaphore.releaseLock(String lockName)
Release the lock on the identified resource if it is held by the calling
thread, unless currently in a JTA transaction.
|
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 2001-2019, Terracotta, Inc.