Searched refs:lock (Results 1 - 25 of 365) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/opensso/
H A DCacheTaboo.java51 Lock lock = rwlock.readLock();
53 lock.lock();
56 lock.unlock();
61 Lock lock = rwlock.readLock();
63 lock.lock();
70 lock.unlock();
75 Lock lock = rwlock.writeLock();
77 lock
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/opensso/
H A DCacheTaboo.java51 Lock lock = rwlock.readLock();
53 lock.lock();
56 lock.unlock();
61 Lock lock = rwlock.readLock();
63 lock.lock();
70 lock.unlock();
75 Lock lock = rwlock.writeLock();
77 lock
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/
H A DLockManager.java38 * A lock manager coordinates directory update operations so that the DIT structure remains in a
40 * components need to ensure that they have the appropriate lock:
45 * locking. If repeatable read isolation is required then lock the entry using
47 * <li>modifying an entry: acquire an entry write-lock for the target entry using
49 * so the write lock should be acquired before performing the initial read in order to ensure
51 * <li>adding an entry: client code must acquire an entry write-lock for the target entry using
53 * an implicit subtree read lock on the parent
54 * <li>deleting an entry: client code must acquire a subtree write lock for the target entry using
56 * <li>renaming an entry: client code must acquire a subtree write lock for the old entry, and a
57 * subtree write lock fo
120 private final DNLockHolder lock; field in class:LockManager.DNLock
125 DNLock(final DNLockHolder lock, final Lock subtreeLock, final Lock entryLock) argument
261 tryLockWithTimeout(final Lock lock) argument
502 dereference(final DNLockHolder lock) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DReaderWriterLock.java34 * This reader/writer lock prevents reads from occurring while writes are in
42 * You should use the lock as follows: public class Data_structure_or_resource {
43 * ReaderWriterLock lock = new ReaderWriterLock(); public void access() { try{
44 * lock.readRequest(); // do the read/access operation here. }finally {
45 * lock.readDone(); } }
47 * public void modify( ) { try { lock.writeRequest(); // do the write/modify
48 * operation here. } finally { lock.writeDone(); } }
62 * ReaderWriterLock object itself is used to lock out readers while writes
68 * Request the read lock. Block until a read operation can be performed
89 * lock
237 ReaderWriterLock lock = new ReaderWriterLock(); field in class:ReaderWriterLock.Test.Resource
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DReaderWriterLock.java34 * This reader/writer lock prevents reads from occurring while writes are in
42 * You should use the lock as follows: public class Data_structure_or_resource {
43 * ReaderWriterLock lock = new ReaderWriterLock(); public void access() { try{
44 * lock.readRequest(); // do the read/access operation here. }finally {
45 * lock.readDone(); } }
47 * public void modify( ) { try { lock.writeRequest(); // do the write/modify
48 * operation here. } finally { lock.writeDone(); } }
62 * ReaderWriterLock object itself is used to lock out readers while writes
68 * Request the read lock. Block until a read operation can be performed
89 * lock
237 ReaderWriterLock lock = new ReaderWriterLock(); field in class:ReaderWriterLock.Test.Resource
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/
H A DMsgQueue.java49 private final Object lock = new Object(); field in class:MsgQueue
61 synchronized (lock)
74 synchronized (lock)
87 synchronized (lock)
100 synchronized (lock)
114 synchronized (lock)
161 synchronized (lock)
189 synchronized (lock)
200 synchronized (lock)
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/
H A DMsgQueue.java49 private final Object lock = new Object(); field in class:MsgQueue
61 synchronized (lock)
74 synchronized (lock)
87 synchronized (lock)
100 synchronized (lock)
114 synchronized (lock)
161 synchronized (lock)
189 synchronized (lock)
200 synchronized (lock)
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/
H A DMsgQueue.java49 private final Object lock = new Object(); field in class:MsgQueue
61 synchronized (lock)
74 synchronized (lock)
87 synchronized (lock)
100 synchronized (lock)
114 synchronized (lock)
161 synchronized (lock)
189 synchronized (lock)
200 synchronized (lock)
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DThreadPool.java61 private Lock lock = new ReentrantLock(); field in class:ThreadPool
62 private Condition hasTasks = lock.newCondition();
103 lock.lock();
107 lock.unlock();
121 lock.lock();
126 lock.unlock();
153 pool.lock.lock();
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DThreadPool.java61 private Lock lock = new ReentrantLock(); field in class:ThreadPool
62 private Condition hasTasks = lock.newCondition();
103 lock.lock();
107 lock.unlock();
121 lock.lock();
126 lock.unlock();
153 pool.lock.lock();
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/server/
H A DMsgQueue.java52 private final Object lock = new Object(); field in class:MsgQueue
64 synchronized (lock)
77 synchronized (lock)
90 synchronized (lock)
103 synchronized (lock)
117 synchronized (lock)
154 synchronized (lock)
183 synchronized (lock)
194 synchronized (lock)
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/
H A DMsgQueue.java52 private final Object lock = new Object(); field in class:MsgQueue
64 synchronized (lock)
77 synchronized (lock)
90 synchronized (lock)
103 synchronized (lock)
117 synchronized (lock)
154 synchronized (lock)
183 synchronized (lock)
194 synchronized (lock)
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/
H A DMsgQueue.java54 private final Object lock = new Object(); field in class:MsgQueue
66 synchronized (lock)
79 synchronized (lock)
92 synchronized (lock)
105 synchronized (lock)
118 synchronized (lock)
154 synchronized (lock)
182 synchronized (lock)
191 synchronized (lock)
/forgerock/opendj-b2.6/src/server/org/opends/server/core/
H A DAuthenticatedUsers.java77 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
86 lock = new ReentrantReadWriteLock();
103 lock.writeLock().lock();
121 lock.writeLock().unlock();
137 lock.writeLock().lock();
153 lock.writeLock().unlock();
172 lock.readLock().lock();
[all...]
/forgerock/opendj2/src/server/org/opends/server/core/
H A DAuthenticatedUsers.java74 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
90 lock = new ReentrantReadWriteLock();
117 lock.writeLock().lock();
134 lock.writeLock().unlock();
150 lock.writeLock().lock();
165 lock.writeLock().unlock();
184 lock.readLock().lock();
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/core/
H A DAuthenticatedUsers.java77 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
86 lock = new ReentrantReadWriteLock();
103 lock.writeLock().lock();
121 lock.writeLock().unlock();
137 lock.writeLock().lock();
153 lock.writeLock().unlock();
172 lock.readLock().lock();
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/
H A DAuthenticatedUsers.java77 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
86 lock = new ReentrantReadWriteLock();
103 lock.writeLock().lock();
121 lock.writeLock().unlock();
137 lock.writeLock().lock();
153 lock.writeLock().unlock();
172 lock.readLock().lock();
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/core/
H A DAuthenticatedUsers.java74 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
90 lock = new ReentrantReadWriteLock();
117 lock.writeLock().lock();
134 lock.writeLock().unlock();
150 lock.writeLock().lock();
165 lock.writeLock().unlock();
184 lock.readLock().lock();
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/core/
H A DAuthenticatedUsers.java74 private final ReentrantReadWriteLock lock; field in class:AuthenticatedUsers
90 lock = new ReentrantReadWriteLock();
117 lock.writeLock().lock();
134 lock.writeLock().unlock();
150 lock.writeLock().lock();
165 lock.writeLock().unlock();
184 lock.readLock().lock();
[all...]
/forgerock/opendj2/src/server/org/opends/server/authorization/dseecompat/
H A DAciList.java57 private final ReentrantReadWriteLock lock = field in class:AciList
89 lock.readLock().lock();
126 lock.readLock().unlock();
146 lock.writeLock().lock();
159 lock.writeLock().unlock();
175 lock.writeLock().lock();
182 lock
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/authorization/dseecompat/
H A DAciList.java57 private final ReentrantReadWriteLock lock = field in class:AciList
91 lock.readLock().lock();
130 lock.readLock().unlock();
150 lock.writeLock().lock();
163 lock.writeLock().unlock();
179 lock.writeLock().lock();
186 lock
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/authorization/dseecompat/
H A DAciList.java58 private final ReentrantReadWriteLock lock = field in class:AciList
92 lock.readLock().lock();
131 lock.readLock().unlock();
151 lock.writeLock().lock();
164 lock.writeLock().unlock();
180 lock.writeLock().lock();
187 lock
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/authorization/dseecompat/
H A DAciList.java57 private final ReentrantReadWriteLock lock = field in class:AciList
89 lock.readLock().lock();
126 lock.readLock().unlock();
146 lock.writeLock().lock();
159 lock.writeLock().unlock();
175 lock.writeLock().lock();
182 lock
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/authorization/dseecompat/
H A DAciList.java57 private final ReentrantReadWriteLock lock = field in class:AciList
91 lock.readLock().lock();
130 lock.readLock().unlock();
150 lock.writeLock().lock();
163 lock.writeLock().unlock();
179 lock.writeLock().lock();
186 lock
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/
H A DAciList.java59 private final ReentrantReadWriteLock lock = field in class:AciList
91 lock.readLock().lock();
128 lock.readLock().unlock();
148 lock.writeLock().lock();
161 lock.writeLock().unlock();
177 lock.writeLock().lock();
184 lock
[all...]

Completed in 50 milliseconds

1234567891011>>