Searched refs:thread (Results 1 - 24 of 24) sorted by relevance

/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/
H A DNativeXAResource.java47 * new methods for thread association support and resource
53 // added functionality for thread management
56 * Opens the RM for the calling thread (xa_open).
61 * Closes the RM for the calling thread (xa_close).
66 * checks if the thread has opened (xa_open) the RM atleast once.
68 * @param thread the thread to be checked for resource initialization.
70 * @return true if the thread has opened the resource (RM) atleast once.
72 public boolean isInitialized(Thread thread); argument
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DWebComponentInvocation.java108 private Thread thread = null; field in class:WebComponentInvocation.PairKey
113 thread = thr;
143 if (thread != null) {
144 eq = (thread.equals(p.thread));
146 eq = (p.thread == null);
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DGrizzlyUtils.java74 WorkerThread thread = (WorkerThread) Thread.currentThread();
78 thread.getByteBuffer(), timeout).bytesRead;
81 ByteBuffer byteBuffer = thread.getByteBuffer();
82 ByteBuffer securedBuffer = thread.getInputBB();
H A DGrizzlyProxy.java308 final Thread thread = new Thread() {
348 logger.log(Level.INFO, "Exception in grizzly thread", e);
354 thread.setPriority(Thread.MAX_PRIORITY);
355 thread.start();
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DHK2Dispatcher.java85 // save the thread local entries.
86 Thread thread = Thread.currentThread();
95 Object threadLocals = threadLocalsField.get(thread);
110 ClassLoader currentCL = thread.getContextClassLoader();
123 thread.setContextClassLoader(currentCL);
129 Object threadLocals = threadLocalsField.get(thread);
147 // no thread local protection available
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/bootstrap/
H A DDerbyLifecycle.java78 Thread thread = new Thread() {
98 thread.start();
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DCurrentTransaction.java45 // Description: Transaction to thread association management.
142 /**Sets up the thread association for a Control object.
144 * If the thread association already exists for the thread under which the
166 // Ensure that the current thread association is valid.
176 // becomes the current Control for the thread.
182 // StaticResource objects of the end of the thread association.
196 Thread thread = Thread.currentThread();
197 result = (threadContexts.remove(thread) != null);
217 // registered StaticResource objects of the new thread associatio
[all...]
H A DXATerminatorImpl.java177 Thread thread = RecoveryManager.removeFromTxMap(tid);
178 if (thread == null || (thread != Thread.currentThread())) { // error
365 Thread thread = RecoveryManager.removeFromTxMap(tid);
366 if (thread == null || (thread != Thread.currentThread())) { // error
H A DRecoveryManager.java122 * This attribute records the thread which is used to perform resync during
150 * there is at most one thread doing work in a transaction.
259 // timeout thread will periodically examine the map and abort
277 * and any active thread associations for the transaction are removed
335 // Modify any thread associations there may be for the transaction, to
386 * thread, if and only if there is no concurrent activity for the
396 Thread thread = (Thread) transactionIds.get(tid);
397 if (thread != null) { // concurrent activity
400 // register the thread for the transaction id
407 * Get the value (thread) fo
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/security/web/
H A DGlassFishSingleSignOn.java88 * The background thread.
90 private Thread thread = null; field in class:GlassFishSingleSignOn
93 * The background thread completion semaphore.
126 * Return expire thread interval (seconds)
136 * Set expire thread interval (seconds)
184 // Start the background reaper thread
209 // Stop the background reaper thread
534 } catch (Throwable e) { // don't let thread die
557 * Start the background thread that will periodically check for
562 if (thread !
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/
H A DMonitorableThreadPool.java53 * Grizzly thread pool implementation that emits probe events.
236 Thread thread) {
242 thread.getId());
252 Thread thread) {
258 thread.getId());
235 threadAllocatedEvent(String threadPoolName, Thread thread) argument
251 threadReleasedEvent(String threadPoolName, Thread thread) argument
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/
H A DJVMThreadSystemStatsProvider.java55 /* server.jvm.thread-system */
56 // v2 mbean: com.sun.appserv:name=thread-system,type=thread-system,category=monitor,server=server
58 @AMXMetadata(type="thread-system-mon", group="monitoring")
66 "LiveThreads", "String", "Returns all live thread IDs" );
69 "Returns the total CPU time for the current thread in nanoseconds" );
72 "Returns the CPU time that the current thread has executed in user mode in nanoseconds" );
84 "Returns the peak live thread count since the Java virtual machine started or peak was reset" );
93 @Description( "Returns all live thread IDs" )
111 @Description( "Returns the total CPU time for the current thread i
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DSolarisSystemEnvironment.java183 Thread thread = new Thread() {
188 thread.start();
191 thread.join(2000);
192 if (thread.isAlive()) {
193 thread.interrupt();
197 thread.interrupt();
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DDirContextURLStreamHandler.java102 * Bindings thread - directory context. Keyed by thread id.
155 * Returns true if the thread or the context class loader of the current
156 * thread is bound.
188 * Binds a directory context to a thread.
196 * Unbinds a directory context to a thread.
218 // Checking thread biding
265 public static DirContext get(Thread thread) { argument
266 return threadBindings.get(thread);
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DSupplementalCommandExecutorImpl.java218 Thread thread = Thread.currentThread();
219 ClassLoader origCL = thread.getContextClassLoader();
223 thread.setContextClassLoader(ccl);
226 thread.setContextClassLoader(origCL);
/glassfish-3.1.2/tests/quicklook/utils/src/com/sun/appserv/test/util/process/
H A DProcessManager.java183 Thread thread = new Thread(new ReaderThread(reader, sb, echo), name);
184 threads.add(thread);
185 thread.start();
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/
H A DProcessManager.java193 Thread thread = new Thread(new ReaderThread(reader, sb, echo), name);
194 threads.add(thread);
195 thread.start();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DContainerBase.java297 * The background thread.
299 private Thread thread = null; field in class:ContainerBase
303 * The background thread completion semaphore.
355 * their own thread). Setting this to a positive value will cause
356 * a thread to be spawn. After waiting the specified amount of time,
357 * the thread will invoke the executePeriodic method on this container
1194 // Start our thread
1222 // Stop our thread
1486 * this notification synchronously using the calling thread.
1718 * Start the background thread tha
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/adapter/
H A DAdminConsoleAdapter.java369 Thread thread = new Thread("Force REST Module Load Thread") {
375 thread.setDaemon(true);
376 thread.start();
638 //do this quickly as this is going to block the grizzly worker thread!
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/
H A DAMXStartupService.java290 /** run each AMXLoader in its own thread */
364 for (final AMXLoaderThread thread : threads) {
365 thread.waitDone();
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DCommandRunnerImpl.java342 Thread thread = Thread.currentThread();
343 ClassLoader origCL = thread.getContextClassLoader();
347 thread.setContextClassLoader(ccl);
350 thread.setContextClassLoader(origCL);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DJdbcConnectionPoolDeployer.java691 //Throw exception if assoc with thread is set to true.
811 Runnable thread = new Runnable() {
857 Callable c = Executors.callable(thread);
/glassfish-3.1.2/admingui/updatecenter/src/main/java/org/glassfish/uc/admingui/
H A DUpdateCenterHandlers.java556 UcThread thread = new UcThread((HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false));
557 thread.start();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DConnector.java325 * The shutdown signal to our background thread
330 * The background thread.
332 private Thread thread = null; field in class:Connector

Completed in 171 milliseconds