Berkeley DB
version 4.2.52

com.sleepycat.db
Class DbLockStat

java.lang.Object
  |
  +--com.sleepycat.db.DbLockStat

public class DbLockStat
extends Object

The DbLockStat object is used to return lock region statistics.


Field Summary
 int st_cur_maxid
          The current maximum unused locker ID.
 int st_id
          The last allocated locker ID.
 int st_locktimeout
          Lock timeout value.
 int st_maxlockers
          The maximum number of lockers possible.
 int st_maxlocks
          The maximum number of locks possible.
 int st_maxnlockers
          The maximum number of lockers at any one time.
 int st_maxnlocks
          The maximum number of locks at any one time.
 int st_maxnobjects
          The maximum number of lock objects at any one time.
 int st_maxobjects
          The maximum number of lock objects possible.
 int st_nconflicts
          The total number of locks not immediately available due to conflicts.
 int st_ndeadlocks
          The number of deadlocks.
 int st_nlockers
          The number of current lockers../com/sleepycat/db/DbLockRequest.html#setMode(int)">setMode(int)


set_obj

public void set_obj(Dbt obj)
Deprecated. As of Berkeley DB 4.2, replaced by setObj(Dbt)


set_op

public void set_op(int op)
Deprecated. As of Berkeley DB 4.2, replaced by setOp(int)


getLock

public DbLock getLock()
The DbLockRequest.getLock method returns the lock reference.

Returns:
The DbLockRequest.getLock method returns the lock reference.


getMode

public int getMode()
The DbLockRequest.getMode method returns the lock mode.

Returns:
The DbLockRequest.getMode method returns the lock mode.


getObj

public Dbt getObj()
The DbLockRequest.getObj method returns the object protected by this lock.

Returns:
The DbLockRequest.getObj method returns the object protected by this lock.


getOp

public int getOp()
The DbLockRequest.getOp method returns the operation.

Returns:
The DbLockRequest.getOp method returns the operation.


getTimeout

public int getTimeout()
The DbLockRequest.getTimeout method returns the lock timeout value.

Returns:
The DbLockRequest.getTimeout method returns the lock timeout value.


get_lock

public DbLock get_lock()
Deprecated. As of Berkeley DB 4.2, replaced by getLock()

Returns:
Description of the Return Value

get_mode

public int get_mode()
Deprecated. As of Berkeley DB 4.2, replaced by getMode()

Returns:
Description of the Return Value

get_obj

public Dbt get_obj()
Deprecated. As of Berkeley DB 4.2, replaced by getObj()

Returns:
Description of the Return Value

get_op

public int get_op()
Deprecated. As of Berkeley DB 4.2, replaced by getOp()

Returns:
Description of the Return Value

Berkeley DB
version 4.2.52

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved. ./usr/share/doc/db4.2-doc/java/com/sleepycat/db/DbLockStat.html0000644000000000000000000006060607763453274024173 0ustar rootroot00000000000000 DbLockStat (Sleepycat Software, Inc. - Berkeley DB Java API)
Berkeley DB
version 4.2.52

com.sleepycat.db
Class DbLockStat

java.lang.Object
  |
  +--com.sleepycat.db.DbLockStat

public class DbLockStat
extends Object

The DbLockStat object is used to return lock region statistics.


Field Summary
 int st_cur_maxid
          The current maximum unused locker ID.
 int st_id
          The last allocated locker ID.
 int st_locktimeout
          Lock timeout value.
 int st_maxlockers
          The maximum number of lockers possible.
 int st_maxlocks
          The maximum number of locks possible.
 int st_maxnlockers
          The maximum number of lockers at any one time.
 int st_maxnlocks
          The maximum number of locks at any one time.
 int st_maxnobjects
          The maximum number of lock objects at any one time.
 int st_maxobjects
          The maximum number of lock objects possible.
 int st_nconflicts
          The total number of locks not immediately available due to conflicts.
 int st_ndeadlocks
          The number of deadlocks.
 int st_nlockers
          The number of c