- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 109 for currentThread (0.08 sec)
-
src/test/java/jcifs/tests/ConcurrencyTest.java
} @Test public void testInterrupt () throws UnknownHostException, IOException, InterruptedException { final Object lock = new Object(); final Thread t = Thread.currentThread(); this.executor.submit(new Runnable() { @Override public void run () { try { synchronized ( lock ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
if (upstreamReader != null) { timeout.waitUntilNotified(this@Relay) continue } // We will do the read. upstreamReader = Thread.currentThread() return@synchronized SOURCE_UPSTREAM } val bufferPos = upstreamPos - buffer.size // Bytes of the read precede the buffer. Read from the file.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
return defaultClazz; // just use the default type } // TCCL allows surrounding container to influence class loading policy final ClassLoader tccl = Thread.currentThread().getContextClassLoader(); if (tccl != null) { try { return tccl.loadClass(name); } catch (final Exception e) { // drop through...
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
return xPathApi.evaluateExpression(xpath, doc, XPathNodes.class); } protected XPathAPI getXPathAPI() { try { return xpathAPICache.get(Thread.currentThread().getName()); } catch (final ExecutionException e) { if (logger.isDebugEnabled()) { logger.debug("Failed to retrieval a cache.", e); } return new XPathAPI();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
// start AccessTimeoutTarget accessTimeoutTarget = null; TimeoutTask accessTimeoutTask = null; if (accessTimeout != null) { accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread()); accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false); } try { return getResponseData(uri, includeContent);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
*/ public static <T> Class<T> forName(final String className) throws ClassNotFoundRuntimeException { assertArgumentNotEmpty("className", className); return forName(className, Thread.currentThread().getContextClassLoader()); } /** * 指定されたクラスローダを使って、 指定された文字列名を持つクラスまたはインタフェースに関連付けられた{@link Class} * オブジェクトを返します。 * * @param <T> * {@link Class}オブジェクトが表すクラス
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
} buffer.add(e); added++; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } return added; } /** * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
} buffer.add(e); added++; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } return added; } /** * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to guarantee
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.thread = null; this.responseTable.clear(); } } @Override public void run () { try { while ( this.thread == Thread.currentThread() ) { this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize()); this.socket.setSoTimeout(this.closeTimeout); this.socket.receive(this.in);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt
"FINE: Q10001 finished run in 0 µs: task two", ) } @Test fun taskNameIsUsedForThreadNameWhenRunning() { redQueue.execute("lucky task") { log += "run threadName:${Thread.currentThread().name}" } taskFaker.advanceUntil(0.µs) assertThat(log).containsExactly("run threadName:lucky task") taskFaker.assertNoMoreTasks()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 23K bytes - Viewed (0)