- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for setDaemon (0.13 sec)
-
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} } public void testDaemon_false() { ThreadFactory factory = builder.setDaemon(false).build(); Thread thread = factory.newThread(monitoredRunnable); assertFalse(thread.isDaemon()); } public void testDaemon_true() { ThreadFactory factory = builder.setDaemon(true).build(); Thread thread = factory.newThread(monitoredRunnable); assertTrue(thread.isDaemon()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
crawlerContext.sessionId = sessionId; } } public String execute() { parentThread = new Thread(this, "Crawler-" + crawlerContext.sessionId); parentThread.setDaemon(daemon); parentThread.start(); if (!background) { awaitTermination(); } return crawlerContext.sessionId; } public void awaitTermination() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
import javax.annotation.CheckForNull; /** * A ThreadFactory builder, providing any combination of these features: * * <ul> * <li>whether threads should be marked as {@linkplain Thread#setDaemon daemon} threads * <li>a {@linkplain ThreadFactoryBuilder#setNameFormat naming format} * <li>a {@linkplain Thread#setPriority thread priority}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:50:54 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} } public void testDaemon_false() { ThreadFactory factory = builder.setDaemon(false).build(); Thread thread = factory.newThread(monitoredRunnable); assertFalse(thread.isDaemon()); } public void testDaemon_true() { ThreadFactory factory = builder.setDaemon(true).build(); Thread thread = factory.newThread(monitoredRunnable); assertTrue(thread.isDaemon()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
QueryThread q1x = new QueryThread(sem, name, type, null, svr, this.transportContext); 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
QueryThread q1x = new QueryThread( sem, name, type, null, svr ); QueryThread q20 = new QueryThread( sem, name, 0x20, null, svr ); q1x.setDaemon( true ); q20.setDaemon( true ); try { synchronized( sem ) { q1x.start(); q20.start(); while( sem.count > 0 && q1x.ans == null && q20.ans == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
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 = Executors.newCachedThreadPool(threadFactory);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
this.blockOnLastEvent = blockOnLastEvent; this.eventQueue = new ArrayBlockingQueue<>(queueSize); Thread updater = new Thread(this::feedConsumer); updater.setDaemon(true); updater.start(); } public TransferListener getDelegate() { return delegate; } private void feedConsumer() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
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 Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9K bytes - Viewed (0)