- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 264 for threads (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/TestLocking.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/contribute/concurrency.md
#### Do-stuff-later pool Sometimes there's an action required like calling the application layer or responding to a ping, and the thread discovering the action is not the thread that should do the work. We enqueue a runnable on this executor and it gets handled by one of the executor's threads. ### Locks
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* <li>a {@linkplain ThreadFactoryBuilder#setNameFormat naming format} * <li>a {@linkplain Thread#setPriority thread priority} * <li>an {@linkplain Thread#setUncaughtExceptionHandler uncaught exception handler} * <li>a {@linkplain ThreadFactory#newThread backing thread factory} * </ul> * * <p>If no backing thread factory is provided, a default backing thread factory is used as if by
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
} @Test public void testThreadSafety() throws InterruptedException { // Test concurrent updates from multiple threads Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { final int index = i; threads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { String name = "file" + index + "_" + j + ".txt";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
void testConcurrentAccess() throws InterruptedException { // Test thread safety of getInstance LogStream.setInstance(testStream); final LogStream[] instances = new LogStream[10]; Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { final int index = i; threads[i] = new Thread(() -> { instances[index] = LogStream.getInstance();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
}); } for (Thread th : threads) { th.start(); } for (Thread th : threads) { th.join(); } assertEquals(num, count.get()); assertEquals(num, valueSet.size()); Set<String> valueSet2 = Collections.synchronizedSet(new HashSet<>()); threads = new Thread[threadNum];
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
* <p> * The context includes information such as the session ID, active thread count, access count, crawler status, * URL filter, rule manager, interval controller, robots.txt URL set, sitemaps, number of threads, * maximum thread check count, maximum depth, and maximum access count. * </p> * * <p> * It also provides thread-local storage for sitemaps, allowing each thread to have its own set of sitemaps. * </p> */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
int eventsPerThread = 100; Thread[] threads = new Thread[threadCount]; for (int i = 0; i < threadCount; i++) { final int threadId = i; threads[i] = new Thread(() -> { for (int j = 0; j < eventsPerThread; j++) { logger.logAuthentication(true, "user" + threadId, "DOMAIN", "192.168.1." + threadId); } });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
@Nonnull Optional<Boolean> alsoMakeDependents(); /** * Returns the number of threads used for parallel builds. * * @return an {@link Optional} containing the number of threads (or "1C" for one thread per CPU core), or empty if not specified */ @Nonnull Optional<String> threads(); /** * Returns the id of the build strategy to use. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
return b.toString(); }).collect(Collectors.joining(","))); buf.append("},"); final Threads threads = jvmStats.getThreads(); buf.append("\"threads\":{"); append(buf, "count", () -> threads.getCount()).append(','); append(buf, "peak", () -> threads.getPeakCount()); buf.append("},"); final Classes classes = jvmStats.getClasses();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0)