- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DaemonsState (0.12 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsState.groovy
*/ class DaemonsState { final int busy final int idle DaemonsState(int busy, int idle) { this.busy = Math.max(busy, 0) this.idle = Math.max(idle, 0) } static getWildcardState() { new DaemonsState() } private DaemonsState() { this.busy = -1 this.idle = -1 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsStateCheckpoint.groovy
* actions to perform when the checkpoint is reached. */ class DaemonsStateCheckpoint { final DaemonsState expectedState private final Runnable[] actions DaemonsStateCheckpoint(DaemonsState expectedState, Runnable... actions) { this.expectedState = expectedState this.actions = actions } String toString() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy
private final List<DaemonsStateCheckpoint> allCheckpoints private final List<DaemonsStateCheckpoint> remainingCheckpoints private DaemonsState lastDaemonsState = new DaemonsState(0, 0) private final Map<Long, DaemonsState> pastStateChanges = new LinkedHashMap<Long, DaemonsState>() // processed changes private final Queue<Holder> changeQueue = new LinkedBlockingQueue() // unprocessed changes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonEventSequenceBuilder.groovy
state(numDaemons - idle, idle) } void stopped() { numDaemons = 0 state(0, 0) } void state(int busy, int idle) { state(new DaemonsState(busy, idle)) } void state(DaemonsState checkpointState) { finishCheckpoint() currentState = checkpointState } void numDaemons(int numDaemons) { this.numDaemons = numDaemons }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.3K bytes - Viewed (0)