|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.jdbc.db.lock.DBLock
A mutable database resource lock. Consists of zero or more database-native SQL statements that lock a database resource.
Constructor Summary | |
DBLock()
Instantiates a database lock of zero statements. |
Method Summary | |
void |
addLockStatement(DBLockStatement stmt)
Adds a statement to this lock. |
List |
getLockStatements()
Retruns the SQL statements that comprise this lock. |
boolean |
shouldSubstitute()
Method indicating to the caller whether this lock's statements should replace the ones that generated them. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DBLock()
Method Detail |
public void addLockStatement(DBLockStatement stmt)
stmt
- may be null
public List getLockStatements()
DBLockStatement
objects; will not return null
public boolean shouldSubstitute()
This method is currently not invoked in any rt. Its use is reserved for future use.
true
if this lock's statements should
be executed instead of the statements used to generate
them; false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |