- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 803 for Spread (0.05 seconds)
-
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/NotThreadSafe.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation indicates that the annotated type is <strong>not</strong> threadsafe * and should only be used by a single thread. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet() fun play() { serverSocket = ServerSocket(0) executor.execute { val threadName = "SocksProxy ${serverSocket!!.localPort}" Thread.currentThread().name = threadName try { while (true) { val socket = serverSocket!!.accept() connectionCount.incrementAndGet() service(socket) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
import jakarta.annotation.PreDestroy; import jakarta.annotation.Resource; /** * IndexUpdater is responsible for updating the search index with crawled document data. * This class extends Thread and continuously processes access results from the crawler, * transforms them into indexed documents, and updates the OpenSearch index. * * <p>The updater performs the following key operations: * <ul>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
* -2: use system default, -1: never expire, 0 or positive: expire after specified days. */ protected int documentExpires = -2; /** * Hot thread monitoring interval in seconds. * -1: disabled, positive value: enable hot thread monitoring with specified interval. * Used for performance analysis and debugging of the crawler process. */ protected int hotThreadInterval = -1; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li> * </ul> * * <p>Thread Safety: * This class uses synchronization to ensure thread-safe access to the properties. * * @see Properties */ public class DynamicProperties extends Properties { private static final long serialVersionUID = 1L; /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 13.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
logger.info(""); logger.info(String.format( "Using the %s implementation with a thread count of %d", executor.getClass().getSimpleName(), degreeOfConcurrency)); } ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
MoreFiles.deleteDirectoryContents(symlink, ALLOW_INSECURE); assertEquals(0, MoreFiles.listFiles(dir).size()); } } /** * This test attempts to create a situation in which one thread is constantly changing a file from * being a real directory to being a symlink to another directory. It then calls * deleteDirectoryContents thousands of times on a directory whose subtree contains the fileCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
* <li>{@link #popularWords()}: Creates a new PopularWordsRequestBuilder for querying popular words.</li> * <li>{@link #refresh()}: Refreshes the suggestion indices.</li> * <li>{@link #shutdown()}: Shuts down the thread pool.</li> * <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li> * <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.6K bytes - Click Count (3) -
guava/src/com/google/common/collect/MapMaker.java
* higher value than you need can waste space and time, and a significantly lower value can lead * to thread contention. But overestimates and underestimates within an order of magnitude do not * usually have much noticeable impact. A value of one permits only one thread to modify the map * at a time, but since read operations can proceed concurrently, this still yields higher * concurrency than full synchronization. Defaults to 4.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableSoftReference.java
import java.lang.ref.ReferenceQueue; import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0)