Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 41 for setDaemon (0.06 seconds)

  1. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private final ExecutorService logExecutor = Executors.newSingleThreadExecutor(r -> {
            Thread t = new Thread(r, "SecurityAuditLogger");
            t.setDaemon(true);
            return t;
        });
        private volatile boolean asyncLogging = true;
        private volatile boolean shutdown = false;
    
        // Event statistics
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            this.remoteInterfaces = new ArrayList<>();
            this.scheduler = Executors.newScheduledThreadPool(2, r -> {
                Thread t = new Thread(r, "MultiChannelScheduler");
                t.setDaemon(true);
                return t;
            });
            this.loadBalancer = new ChannelLoadBalancer(this);
            this.failover = new ChannelFailover(this);
    
            Configuration config = context.getConfig();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                    log.debug("Connecting " + this.name);
                }
    
                this.state = 1;
                this.te = null;
    
                final Thread t = new Thread(this, this.name);
                t.setDaemon(true);
                this.thread = t;
    
                synchronized (this.thread) {
                    t.start();
                    t.wait(timeout); /* wait for doConnect */
    
                    st = this.state;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        // Advanced health monitoring
        private final ScheduledExecutorService healthCheckExecutor = Executors.newSingleThreadScheduledExecutor(r -> {
            Thread t = new Thread(r, "SmbTransportPool-HealthCheck");
            t.setDaemon(true);
            return t;
        });
        private ScheduledFuture<?> healthCheckTask;
        private volatile boolean healthCheckingEnabled = true;
    
        // Health check metrics
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              }
            });
        awaitUninterruptibly(enteredLatch);
      }
    
      @CanIgnoreReturnValue
      static Thread startThread(Runnable runnable) {
        Thread thread = new Thread(runnable);
        thread.setDaemon(true);
        thread.start();
        return thread;
      }
    
      /**
       * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

                java.util.concurrent.Executors.newSingleThreadScheduledExecutor(r -> {
                    Thread t = new Thread(r, "SecureKeyManager-Rotation");
                    t.setDaemon(true);
                    return t;
                });
        private java.util.concurrent.ScheduledFuture<?> rotationTask;
    
        /**
         * Configure key rotation interval
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              }
            });
        awaitUninterruptibly(enteredLatch);
      }
    
      @CanIgnoreReturnValue
      static Thread startThread(Runnable runnable) {
        Thread thread = new Thread(runnable);
        thread.setDaemon(true);
        thread.start();
        return thread;
      }
    
      /**
       * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

                } catch (InterruptedException e) {
                  // simply finish execution
                } finally {
                  lock.unlock();
                }
              }
            };
        thread.setDaemon(true);
        thread.start();
        awaitUninterruptibly(latch);
        return thread;
      }
    
      // We are implementing Condition, so our callers are responsible for the loop.
      @SuppressWarnings("WaitNotInLoop")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

                } catch (InterruptedException e) {
                  // simply finish execution
                } finally {
                  lock.unlock();
                }
              }
            };
        thread.setDaemon(true);
        thread.start();
        awaitUninterruptibly(latch);
        return thread;
      }
    
      // We are implementing Condition, so our callers are responsible for the loop.
      @SuppressWarnings("WaitNotInLoop")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    throw new SmbException("Source and destination paths overlap.");
                }
            } catch (final UnknownHostException uhe) {}
    
            w = new WriterThread();
            w.setDaemon(true);
            w.start();
    
            /* Downgrade one transport to the lower of the negotiated buffer sizes
             * so we can just send whatever is received.
             */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top