Lines Matching refs:lock
13 The LockRequest object is used to encapsulate a single lock request.
16 private DbLock lock;
24 Construct a LockRequest with the specified operation, mode and lock,
27 @param lock
28 The lock type for the object.
42 final Lock lock) {
44 this(op, mode, obj, lock, 0);
48 Construct a LockRequest with the specified operation, mode, lock and
51 @param lock
52 The lock type for the object.
64 The timeout value for the lock.
69 final Lock lock,
75 this.setLock(lock);
80 Set the lock reference.
82 @param lock
83 The lock reference.
85 public void setLock(final Lock lock) {
86 this.lock = lock.unwrap();
90 Set the lock mode.
93 the lock mode.
101 Set the lock object.
104 The lock object.
121 Set the lock timeout value.
124 The lock timeout value.
131 Return the lock reference.
134 return lock.wrapper;
138 Return the lock mode.
145 Return the lock object.
152 Return the lock operation.
159 Return the lock timeout value.