- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 711 for thread (0.19 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
// Create resource that will be garbage collected without closing createLeakyResource(); // Force garbage collection System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
// Create thread pools this.channelExecutor = Executors.newCachedThreadPool(r -> { 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");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSet.java
* methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E> implements Set<E> { // TODO(lowasser): identify places where thread safety is actually lost
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* context class loader will find resources from the class path. In environments where different * threads can have different class loaders, for example app servers, the context class loader * will typically have been set to an appropriate loader for the current thread. * * <p>In the unusual case where the context class loader is null, the class loader that loaded * this class ({@code Resources}) will be used instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
/** The next byte to read. This is always less than or equal to [upstreamPos]. */ private var sourcePos = 0L /** * Selects where to find the bytes for a read and read them. This is one of three sources. * * ## Upstream * * In this case the current thread is assigned as the upstream reader. We read bytes fromRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
ThreadFactory threadFactory = r -> { Thread t = new Thread(r, "ResourceManager-Cleanup"); t.setDaemon(true); return t; }; cleanupExecutor = Executors.newSingleThreadScheduledExecutor(threadFactory); // Add shutdown hook for cleanup Runtime.getRuntime().addShutdownHook(new Thread(this::shutdown, "ResourceManager-Shutdown"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReference.java
@J2ktIncompatible @GwtIncompatible public interface FinalizableReference { /** * Invoked on a background thread after the referent has been garbage collected unless security * restrictions prevented starting a background thread, in which case this method is invoked when * new references are created. */ void finalizeReferent();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java
* under the License. */ /** * Provides an immutable XML processing API for Maven, offering classes and interfaces * for reading, manipulating, and writing XML documents in a thread-safe manner. * This package is used extensively for POM, settings, and other Maven configuration files. * * @since 4.0.0 */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Mar 04 14:17:18 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
/** Dispatcher is not [Lockable] because we don't want that type in our public API. */ internal fun Dispatcher.assertLockNotHeld() { if (assertionsEnabled && Thread.holdsLock(this)) { throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this") } } /** * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
} public void testFutureCancellableBeforeFunctionCompletion() throws Exception { // Set the result in a separate thread since this test runs the function // (which will block) in the same thread. new Thread() { @Override public void run() { inputFuture.set(SLOW_FUNC_VALID_INPUT_DATA); } }.start(); funcIsWaitingLatch.await();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0)