Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setDaemon (0.07 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            final QueryThread q1x = new QueryThread(sem, name, type, null, svr, this.transportContext);
            final QueryThread q20 = new QueryThread(sem, name, 0x20, null, svr, this.transportContext);
            q1x.setDaemon(true);
            q20.setDaemon(true);
            try {
                synchronized (sem) {
                    q1x.start();
                    q20.start();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

                Thread t = new Thread(r, "SMB3-MultiChannel-Worker");
                t.setDaemon(true);
                return t;
            });
    
            this.healthCheckExecutor = Executors.newScheduledThreadPool(2, r -> {
                Thread t = new Thread(r, "SMB3-MultiChannel-HealthCheck");
                t.setDaemon(true);
                return t;
            });
    
            // Start health check task
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ResourceManager.java

            }
        }
    
        private ResourceManager() {
            ThreadFactory threadFactory = r -> {
                Thread t = new Thread(r, "ResourceManager-Cleanup");
                t.setDaemon(true);
                return t;
            };
            cleanupExecutor = Executors.newSingleThreadScheduledExecutor(threadFactory);
    
            // Add shutdown hook for cleanup
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            // Start cleanup scheduler
            this.cleanupScheduler = Executors.newSingleThreadScheduledExecutor(r -> {
                Thread t = new Thread(r, "AuthRateLimiter-Cleanup");
                t.setDaemon(true);
                return t;
            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
                    TimeUnit.MILLISECONDS);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            // Start cleanup executor for expired leases
            this.cleanupExecutor = Executors.newSingleThreadScheduledExecutor(r -> {
                Thread t = new Thread(r, "LeaseManager-Cleanup");
                t.setDaemon(true);
                return t;
            });
    
            // Schedule periodic cleanup
            long cleanupInterval = context.getConfig().getLeaseTimeout();
            if (cleanupInterval <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. 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
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    throw new SmbException("Source and destination paths overlap.");
                }
    
                final WriterThread w = new WriterThread();
                w.setDaemon(true);
    
                try {
                    w.start();
                    // use commonly acceptable buffer size
                    final int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top