- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ThreadExecuter (0.18 sec)
-
subprojects/core/src/main/java/org/gradle/util/internal/DisconnectableInputStream.java
private boolean closed; private boolean inputFinished; /* The song and dance with Action<Runnable> is to ease testing. See DisconnectableInputStreamTest */ static class ThreadExecuter implements Action<Runnable> { @Override public void execute(Runnable runnable) { Thread thread = new Thread(runnable); thread.setName("DisconnectableInputStream source reader");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 6.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy
assertThat(instr.read(new byte[10], 2, 5), equalTo(-1)) } @Test void threadExecuterExecutesTheAction() { def e = new DisconnectableInputStream.ThreadExecuter() def latch = new CountDownLatch(1) e.execute { def t = Thread.currentThread() assert t.daemon latch.countDown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 8.5K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.util.internal.DisconnectableInputStream$1> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DisconnectableInputStream.java:0) Class <org.gradle.util.internal.DisconnectableInputStream$ThreadExecuter> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DisconnectableInputStream.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)