- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 41 for setDaemon (0.07 seconds)
-
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
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 cleanupCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
static final int SIZE = 20; /** Returns a new started daemon Thread running the given runnable. */ final Thread newStartedThread(Runnable runnable) { Thread t = new Thread(runnable); t.setDaemon(true); t.start(); return t; } /** * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
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 packetsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
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;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
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));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25K bytes - Click Count (0) -
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;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0)