Searched defs:thread (Results 1 - 25 of 57) sorted by relevance

123

/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java43 * generated by a specified thread is actually logged.
48 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
55 * @param thread The thread to log from.
58 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
61 this.thread = thread;
96 if(this.thread.equals(currentThread) ||
97 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
/forgerock/opendj2/src/server/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java42 * generated by a specified thread is actually logged.
47 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
54 * @param thread The thread to log from.
57 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
60 this.thread = thread;
95 if(this.thread.equals(currentThread) ||
96 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java43 * generated by a specified thread is actually logged.
48 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
55 * @param thread The thread to log from.
58 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
61 this.thread = thread;
96 if(this.thread.equals(currentThread) ||
97 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
/forgerock/opendj2-jel-hg/src/server/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java43 * generated by a specified thread is actually logged.
48 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
55 * @param thread The thread to log from.
58 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
61 this.thread = thread;
96 if(this.thread.equals(currentThread) ||
97 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
/forgerock/opendj2-hg/src/server/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java42 * generated by a specified thread is actually logged.
47 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
54 * @param thread The thread to log from.
57 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
60 this.thread = thread;
95 if(this.thread.equals(currentThread) ||
96 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/log/handlers/
H A DLoggingThread.java37 import org.forgerock.util.thread.listener.ShutdownListener;
38 import org.forgerock.util.thread.listener.ShutdownPriority;
39 import org.forgerock.util.thread.listener.ShutdownManager;
44 private ThreadPool thread; field in class:LoggingThread
51 thread = new ThreadPool("LoggingThread", 1, 0, false, Debug.getInstance("amLogging"));
55 thread.shutdown();
71 thread.run(task);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/handlers/
H A DLoggingThread.java37 import org.forgerock.util.thread.listener.ShutdownListener;
38 import org.forgerock.util.thread.listener.ShutdownPriority;
39 import org.forgerock.util.thread.listener.ShutdownManager;
44 private ThreadPool thread; field in class:LoggingThread
51 thread = new ThreadPool("LoggingThread", 1, 0, false, Debug.getInstance("amLogging"));
55 thread.shutdown();
71 thread.run(task);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/loggers/
H A DThreadFilterTextErrorLogPublisher.java42 * generated by a specified thread is actually logged.
47 private Thread thread; field in class:ThreadFilterTextErrorLogPublisher
54 * @param thread The thread to log from.
57 public ThreadFilterTextErrorLogPublisher(Thread thread, argument
60 this.thread = thread;
87 if(this.thread.equals(currentThread) ||
88 this.thread.getThreadGroup().equals(currentThread.getThreadGroup()))
114 return this.thread
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/comm/https/
H A DJSSProxy.java45 import org.forgerock.util.thread.listener.ShutdownListener;
46 import org.forgerock.util.thread.listener.ShutdownManager;
51 private static Thread thread; field in class:JSSProxy
83 thread = null;
87 thread = new Thread(tempInstance);
104 if (thread != null) {
105 thread.start();
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthThreadManager.java40 * iplanet-am-auth-sleep-interval wakes up and checks for each thread
42 * If thread has timed out adds thread to timedOutHash and removed from
67 * thread sleeps for n milliseconds as set in iplanet-am-auth-sleep-interval
68 * wakes up and checks for each thread in the timeout Hash for timeout.
69 * if thread has timed out adds thread to timedOutHash and removed from
85 Thread thread = (Thread) key;
93 debug.message("Interrupting thread" + thread);
152 isTimedOut(Thread thread) argument
172 removeFromHash(Thread thread,String hashName) argument
192 removeHash(Hashtable hash,Thread thread) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthThreadManager.java43 * iplanet-am-auth-sleep-interval wakes up and checks for each thread
45 * If thread has timed out adds thread to timedOutHash and removed from
70 * thread sleeps for n milliseconds as set in iplanet-am-auth-sleep-interval
71 * wakes up and checks for each thread in the timeout Hash for timeout.
72 * if thread has timed out adds thread to timedOutHash and removed from
88 Thread thread = (Thread) key;
96 debug.message("Interrupting thread" + thread);
155 isTimedOut(Thread thread) argument
175 removeFromHash(Thread thread,String hashName) argument
195 removeHash(Hashtable hash,Thread thread) argument
[all...]
/forgerock/opendj2/src/ads/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java76 * current thread.
91 * Sets the provided trust manager for the operations in the provided thread.
93 * @param thread the thread where we want to use the provided trust manager.
96 TrustManager trustManager, Thread thread)
98 TrustManager currentTrustManager = hmTrustManager.get(thread);
101 hmTrustManager.remove(thread);
104 hmTrustManager.put(thread, trustManager);
109 * Sets the provided key manager for the operations in the provided thread.
111 * @param thread th
95 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
113 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/opendj-b2.6/src/ads/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java77 * current thread.
92 * Sets the provided trust manager for the operations in the provided thread.
94 * @param thread the thread where we want to use the provided trust manager.
97 TrustManager trustManager, Thread thread)
99 TrustManager currentTrustManager = hmTrustManager.get(thread);
102 hmTrustManager.remove(thread);
105 hmTrustManager.put(thread, trustManager);
110 * Sets the provided key manager for the operations in the provided thread.
112 * @param thread th
96 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
114 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/opendj2.6.2/src/ads/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java77 * current thread.
92 * Sets the provided trust manager for the operations in the provided thread.
94 * @param thread the thread where we want to use the provided trust manager.
97 TrustManager trustManager, Thread thread)
99 TrustManager currentTrustManager = hmTrustManager.get(thread);
102 hmTrustManager.remove(thread);
105 hmTrustManager.put(thread, trustManager);
110 * Sets the provided key manager for the operations in the provided thread.
112 * @param thread th
96 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
114 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/opendj2-hg/src/ads/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java76 * current thread.
91 * Sets the provided trust manager for the operations in the provided thread.
93 * @param thread the thread where we want to use the provided trust manager.
96 TrustManager trustManager, Thread thread)
98 TrustManager currentTrustManager = hmTrustManager.get(thread);
101 hmTrustManager.remove(thread);
104 hmTrustManager.put(thread, trustManager);
109 * Sets the provided key manager for the operations in the provided thread.
111 * @param thread th
95 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
113 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/opendj2-jel-hg/src/ads/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java77 * current thread.
92 * Sets the provided trust manager for the operations in the provided thread.
94 * @param thread the thread where we want to use the provided trust manager.
97 TrustManager trustManager, Thread thread)
99 TrustManager currentTrustManager = hmTrustManager.get(thread);
102 hmTrustManager.remove(thread);
105 hmTrustManager.put(thread, trustManager);
110 * Sets the provided key manager for the operations in the provided thread.
112 * @param thread th
96 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
114 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/util/
H A DThreadPool.java40 * ThreadPool is a generic thread pool that manages and recycles threads instead
41 * of creating them everytime some task needs to be run on a different thread.
44 * associated with getting a thread started and cleaning it up after it dies. By
45 * creating a pool of threads, a single thread from the pool can be reused any
49 * This reduces response time because a thread is already constructed and
72 * tail points to the last available idle thread in the idleThreadList. When
81 * Constructs a thread pool with the poolName and given number of threads.
85 * name of the thread pool
87 * maximum number of threads in the thread pool.
108 // ensure that there is at least one thread i
245 private Thread thread; field in class:ThreadPool.IPSThread
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/
H A DTrustedSocketFactory.java73 * current thread.
88 * Sets the provided trust manager for the operations in the provided thread.
90 * @param thread the thread where we want to use the provided trust manager.
93 TrustManager trustManager, Thread thread)
95 TrustManager currentTrustManager = hmTrustManager.get(thread);
98 hmTrustManager.remove(thread);
101 hmTrustManager.put(thread, trustManager);
106 * Sets the provided key manager for the operations in the provided thread.
108 * @param thread th
92 setThreadTrustManager( TrustManager trustManager, Thread thread) argument
110 setThreadKeyManager( KeyManager keyManager, Thread thread) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/types/
H A DLockManagerTest.java225 assertThat(lock1.refCount()).isEqualTo(3); // +1 for thread local cache
297 * Lock a DN whose parent is different each time in order to prevent the thread local
323 private Future<DNLock> lockUsingThread(final ExecutorService thread, final LockManager lockManager, argument
326 return thread.submit(new Callable<DNLock>()
336 private int getThreadLocalLockRefCountFor(final ExecutorService thread, final LockManager lockManager, argument
339 return thread.submit(new Callable<Integer>()
349 private void unlockUsingThread(final ExecutorService thread, final DNLock lock) throws Exception argument
351 thread.submit(new Runnable()
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/util/
H A DThreadPool.java40 * ThreadPool is a generic thread pool that manages and recycles threads instead
41 * of creating them everytime some task needs to be run on a different thread.
44 * associated with getting a thread started and cleaning it up after it dies. By
45 * creating a pool of threads, a single thread from the pool can be reused any
49 * This reduces response time because a thread is already constructed and
72 * tail points to the last available idle thread in the idleThreadList. When
81 * Constructs a thread pool with the poolName and given number of threads.
85 * name of the thread pool
87 * maximum number of threads in the thread pool.
108 // ensure that there is at least one thread i
245 private Thread thread; field in class:ThreadPool.IPSThread
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/
H A DDbHandler.java72 // A dedicated thread loops on flush() and trim().
109 private DirectoryThread thread; field in class:DbHandler
152 thread = new DirectoryThread(this, "Replication server RS("
156 thread.start();
325 { /* Can this be replaced with thread.join() ? */
379 // set the done variable to true so that this thread don't
H A DDraftCNDbHandler.java82 A dedicated thread loops trim().
86 private DirectoryThread thread; field in class:DraftCNDbHandler
116 // Trimming thread
117 thread = new DirectoryThread(this, "Replication DraftCN db ");
118 thread.start();
248 { /* Can we just do a thread.join() ? */
523 * Tests if the current thread has the lock on this object.
524 * @return True if the current thread has the lock.
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/
H A DDbHandler.java72 // A dedicated thread loops on flush() and trim().
107 private DirectoryThread thread; field in class:DbHandler
150 thread = new DirectoryThread(this, "Replication server RS("
154 thread.start();
311 if (thread.isShutdownInitiated())
321 thread.initiateShutdown();
337 thread.startWork();
340 while (!thread.isShutdownInitiated())
371 thread.initiateShutdown();
387 thread
[all...]
H A DDraftCNDbHandler.java90 A dedicated thread loops trim().
94 private DirectoryThread thread; field in class:DraftCNDbHandler
124 // Trimming thread
125 thread = new DirectoryThread(this, "Replication DraftCN db ");
126 thread.start();
257 { /* Can we just do a thread.join() ? */
544 * Tests if the current thread has the lock on this object.
545 * @return True if the current thread has the lock.
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/
H A DDbHandler.java72 // A dedicated thread loops on flush() and trim().
109 private DirectoryThread thread; field in class:DbHandler
152 thread = new DirectoryThread(this, "Replication server RS("
156 thread.start();
325 { /* Can this be replaced with thread.join() ? */
379 // set the done variable to true so that this thread don't

Completed in 516 milliseconds

123