|
Berkeley DB version 4.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.sleepycat.db.DbException | +--com.sleepycat.db.DbLockNotGrantedException
This information describes the DbLockNotGrantedException class and how it is used by the various Db* classes.
A DbLockNotGrantedException is thrown when a lock, requested using the DbEnv.lockGet
or DbEnv.lockVector
methods, where the Db.DB_LOCK_NOWAIT
option was specified, is unable to be granted immediately.
Method Summary | |
int |
get_index()
Deprecated. As of Berkeley DB 4.2, replaced by getIndex() |
DbLock |
get_lock()
Deprecated. As of Berkeley DB 4.2, replaced by getLock() |
int |
get_mode()
Deprecated. As of Berkeley DB 4.2, replaced by getMode() |
Dbt |
get_obj()
Deprecated. As of Berkeley DB 4.2, replaced by getObj() |
int |
get_op()
Deprecated. As of Berkeley DB 4.2, replaced by getOp() |
int |
getIndex()
The getIndex method returns -1 when DbEnv.lockGet was called, and returns the index of the failed DbLockRequest when DbEnv.lockVector was called. |
DbLock |
getLock()
The getLock method returns null when DbEnv.lockGet was called, and returns the lock in the failed DbLockRequest when DbEnv.lockVector was called. |
int |
getMode()
The getMode method returns the mode parameter when DbEnv.lockGet was called, and returns the mode for the failed DbLockRequest when DbEnv.lockVector was called. |
Dbt |
getObj()
The getObj method returns the mode parameter when returns the object parameter when DbEnv.lockGet was called, and returns the object for the failed DbLockRequest when DbEnv.lockVector was called. |
int |
getOp()
The getOp method returns 0 when DbEnv.lockGet was called, and returns the op for the failed DbLockRequest when DbEnv.lockVector was called. |
Methods inherited from class com.sleepycat.db.DbException |
get_errno, getDbEnv, getErrno, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getIndex()
DbEnv.lockGet
was called, and returns the index of the failed DbLockRequest when DbEnv.lockVector
was called.
DbEnv.lockGet
was called, and returns the index of the failed DbLockRequest when DbEnv.lockVector
was called.public DbLock getLock()
DbEnv.lockGet
was called, and returns the lock in the failed DbLockRequest when DbEnv.lockVector
was called.
DbEnv.lockGet
was called, and returns the lock in the failed DbLockRequest when DbEnv.lockVector
was called.public int getMode()
DbEnv.lockGet
was called, and returns the mode for the failed DbLockRequest when DbEnv.lockVector
was called.
DbEnv.lockGet
was called, and returns the mode for the failed DbLockRequest when DbEnv.lockVector
was called.public Dbt getObj()
DbEnv.lockGet
was called, and returns the object for the failed DbLockRequest when DbEnv.lockVector
was called.
DbEnv.lockGet
was called, and returns the object for the failed DbLockRequest when DbEnv.lockVector
was called.public int getOp()
DbEnv.lockGet
was called, and returns the op for the failed DbLockRequest when DbEnv.lockVector
was called.
DbEnv.lockGet
was called, and returns the op for the failed DbLockRequest when DbEnv.lockVector
was called.public int get_index()
getIndex()
public DbLock get_lock()
getLock()
public int get_mode()
getMode()
public Dbt get_obj()
getObj()
public int get_op()
getOp()
|
Berkeley DB version 4.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |