Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for setDaemon (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                dataCrawlingThread.setPriority(crawlerPriority);
                dataCrawlingThread.setName(sid);
                dataCrawlingThread.setDaemon(true);
    
                dataCrawlingThreadList.add(dataCrawlingThread);
                dataCrawlingThreadStatusList.add(Constants.READY);
    
            }
    
            int startedCrawlerNum = 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            @Override
            public Thread newThread(Runnable r) {
                Thread newThread = new Thread(GROUP, r, "resolver-" + THREAD_NUMBER.getAndIncrement());
                newThread.setDaemon(true);
                newThread.setContextClassLoader(null);
                return newThread;
            }
        }
    
        private class ResolveTask implements Runnable {
    
            private final ClassLoader classLoader;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. 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)
  6. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. 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)
  8. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (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;
      }
    
      private static class TestCondition implements Condition {
        private final Lock lock;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (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.
             */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top