- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for newConditions (0.4 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/AsyncDispatch.java
private enum State { Init, Stopped } private static final int MAX_QUEUE_SIZE = 200; private final Lock lock = new ReentrantLock(); private final Condition condition = lock.newCondition(); private final LinkedList<T> queue = new LinkedList<T>(); private final Executor executor; private final int maxQueueSize;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueue.java
} } } public EndPointQueue newEndpoint() { EndPointQueue endPointQueue = new EndPointQueue(this, lock.newCondition()); endpoints.add(endPointQueue); initializer.onQueueAdded(endPointQueue); return endPointQueue; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java
SendPartialResponseThenBlock(Lock lock, Duration timeout, WaitPrecondition precondition, byte[] content) { this.lock = lock; this.timeout = timeout; condition = lock.newCondition(); this.precondition = precondition; this.content = content; } @Override public void writeTo(int requestId, HttpExchange exchange) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java
} private static abstract class CommandQueue<C extends Message, H> implements Stoppable { private final Lock lock = new ReentrantLock(); private final Condition condition = lock.newCondition(); protected final LinkedList<C> queue = new LinkedList<C>(); private final String name; private ManagedExecutor executor; private boolean removed;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 16K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
class ConcurrentTestUtil extends ExternalResource { private static final Logger LOG = LoggerFactory.getLogger(ConcurrentTestUtil.class) private Lock lock = new ReentrantLock() private Condition threadsChanged = lock.newCondition() private Set<TestThread> threads = [] as Set private Closure failureHandler private List<Throwable> failures = [] private timeout = 5000 ConcurrentTestUtil() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java
private final ToolingImplementationLoader implementationLoader; private final LoggingProvider loggingProvider; private final Lock lock = new ReentrantLock(); private final Condition condition = lock.newCondition(); private final Set<Thread> executing = new HashSet<Thread>(); private boolean stopped; private ConsumerConnection connection; private final ConnectionParameters connectionParameters;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/DisconnectableInputStream.java
*/ public class DisconnectableInputStream extends BulkReadInputStream { private final Lock lock = new ReentrantLock(); private final Condition condition = lock.newCondition(); private final byte[] buffer; private int readPos; private int writePos; private boolean closed; private boolean inputFinished; /*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 6.5K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
// OR if the number of failed jobs increased since the last syncJob jobCtx.finishedCondition = newCondition(batch.JobFailed, v1.ConditionTrue, batch.JobReasonBackoffLimitExceeded, "Job has reached the specified backoff limit", jm.clock.Now()) } else if jm.pastActiveDeadline(&job) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultIncomingConnectionHandler.java
private final DaemonStateControl daemonStateControl; private final ExecutorFactory executorFactory; private final Lock lock = new ReentrantLock(); private final Condition condition = lock.newCondition(); private final Set<SynchronizedDispatchConnection<Message>> inProgress = new HashSet<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/UnicastMessagingIntegrationTest.groovy
} abstract void stop() } class Server extends Participant { private final lock = new ReentrantLock() private final condition = lock.newCondition() private final services = ServiceRegistryBuilder.builder().provider(new TestMessagingServices()).build() private ConnectionAcceptor acceptor private ObjectConnection connection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:43 UTC 2024 - 8.9K bytes - Viewed (0)