Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for setDaemon (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

          extends ForwardingFuture<V> implements ListenableFuture<V> {
    
        private static final ThreadFactory threadFactory =
            new ThreadFactoryBuilder()
                .setDaemon(true)
                .setNameFormat("ListenableFutureAdapter-thread-%d")
                .build();
        private static final Executor defaultAdapterExecutor = newCachedThreadPool(threadFactory);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/internal/Finalizer.java

          }
        }
        if (thread == null) {
          thread = new Thread((ThreadGroup) null, finalizer, threadName);
        }
        thread.setDaemon(true);
    
        try {
          if (inheritableThreadLocals != null) {
            inheritableThreadLocals.set(thread, null);
          }
        } catch (Throwable t) {
          logger.log(
              Level.INFO,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            // be ignored; see tryClose comment.
            if (socket == null) {
                socket = new DatagramSocket(lport, laddr);
                thread = new Thread(this, "JCIFS-NameServiceClient");
                thread.setDaemon(true);
                thread.start();
            }
        }
    
        void tryClose() {
            synchronized (LOCK) {
    
                /* Yes, there is the potential to drop packets
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            this.guidToHandle = new ConcurrentHashMap<>();
            this.scheduler = Executors.newScheduledThreadPool(1, r -> {
                Thread t = new Thread(r, "PersistentHandleManager");
                t.setDaemon(true);
                return t;
            });
    
            // Create state directory for persistent storage
            String stateDir = System.getProperty("jcifs.smb.client.handleStateDirectory");
            if (stateDir == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

                    state = 0;
                    throw te;
                }
    
                state = 1;
                te = null;
                thread = new Thread(this, name);
                thread.setDaemon(true);
    
                synchronized (thread) {
                    thread.start();
                    thread.wait(timeout); /* wait for doConnect */
    
                    switch (state) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                        exceptionSet.add(e);
                    } finally {
                        done.set(true);
                    }
                }, Thread.currentThread().getName() + "-pdf");
                task.setDaemon(isDaemonThread);
                task.start();
                task.join(timeout);
                if (!done.get()) {
                    for (int i = 0; i < 100 && !done.get(); i++) {
                        task.interrupt();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            indexUpdater.setName("IndexUpdater");
            indexUpdater.setPriority(indexUpdaterPriority);
            indexUpdater.setSessionIdList(sessionIdList);
            indexUpdater.setDaemon(true);
            indexUpdater.setCrawlerList(crawlerList);
            getAvailableBoostDocumentRuleList().forEach(rule -> {
                indexUpdater.addDocBoostMatcher(new org.codelibs.fess.indexer.DocBoostMatcher(rule));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. 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)
Back to top