| /glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/ |
| H A D | NativeXAResource.java | 47 * 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 D | WebComponentInvocation.java | 108 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 D | GrizzlyUtils.java | 74 WorkerThread thread = (WorkerThread) Thread.currentThread(); 78 thread.getByteBuffer(), timeout).bytesRead; 81 ByteBuffer byteBuffer = thread.getByteBuffer(); 82 ByteBuffer securedBuffer = thread.getInputBB();
|
| H A D | GrizzlyProxy.java | 308 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 D | HK2Dispatcher.java | 85 // 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 D | DerbyLifecycle.java | 78 Thread thread = new Thread() { 98 thread.start();
|
| /glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
| H A D | CurrentTransaction.java | 45 // 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 D | XATerminatorImpl.java | 177 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 D | RecoveryManager.java | 122 * 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 D | GlassFishSingleSignOn.java | 88 * 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 D | MonitorableThreadPool.java | 53 * 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 D | JVMThreadSystemStatsProvider.java | 55 /* 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 D | SolarisSystemEnvironment.java | 183 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 D | DirContextURLStreamHandler.java | 102 * 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 D | SupplementalCommandExecutorImpl.java | 218 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 D | ProcessManager.java | 183 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 D | ProcessManager.java | 193 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 D | ContainerBase.java | 297 * 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 D | AdminConsoleAdapter.java | 369 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 D | AMXStartupService.java | 290 /** 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 D | CommandRunnerImpl.java | 342 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 D | JdbcConnectionPoolDeployer.java | 691 //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 D | UpdateCenterHandlers.java | 556 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 D | Connector.java | 325 * The shutdown signal to our background thread 330 * The background thread. 332 private Thread thread = null; field in class:Connector
|