- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for doRestart (0.19 sec)
-
guava/src/com/google/common/util/concurrent/AbstractService.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import javax.annotation.CheckForNull; /** * Base class for implementing services that can handle {@link #doStart} and {@link #doStop} * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()} * callbacks. Its subclasses must manage threads manually; consider {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractIdleService.java
private final Service delegate = new DelegateService(); @WeakOuter private final class DelegateService extends AbstractService { @Override protected final void doStart() { MoreExecutors.renamingDecorator(executor(), threadNameSupplier) .execute( () -> { try { startUp(); notifyStarted();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops()); int nodeStart = graphString.indexOf("nodes:"); int edgeStart = graphString.indexOf("edges:"); String nodeString = graphString.substring(nodeStart, edgeStart); Set<EndpointPair<N>> allEndpointPairs = new HashSet<>(); for (N node : sanityCheckSet(graph.nodes())) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
} if end == 0 { end = fns[0].Info.Lineno } end += margin for _, n := range fns { lineno := n.Info.Lineno nodeStart := n.Info.StartLine if nodeStart == 0 { nodeStart = lineno - margin } nodeEnd := lineno + margin if nodeStart < start { start = nodeStart } else if nodeEnd > end { end = nodeEnd } lineNodes[lineno] = append(lineNodes[lineno], n) } if start < 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java
private final Service delegate = new DelegateService(); @WeakOuter private final class DelegateService extends AbstractService { @Override protected final void doStart() { MoreExecutors.renamingDecorator(executor(), threadNameSupplier) .execute( () -> { try { startUp(); notifyStarted();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
} finally { lock.unlock(); } } } private final Runnable task = new Task(); @Override protected final void doStart() { executorService = MoreExecutors.renamingDecorator(executor(), () -> serviceName() + " " + state()); executorService.execute( () -> { lock.lock(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
/* use AbstractService for state management */ private final Service delegate = new AbstractService() { @Override protected final void doStart() { Executor executor = MoreExecutors.renamingDecorator(executor(), () -> serviceName()); executor.execute( () -> { try { startUp();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
} finally { lock.unlock(); } } } private final Runnable task = new Task(); @Override protected final void doStart() { executorService = MoreExecutors.renamingDecorator(executor(), () -> serviceName() + " " + state()); executorService.execute( () -> { lock.lock(); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
/* use AbstractService for state management */ private final Service delegate = new AbstractService() { @Override protected final void doStart() { Executor executor = MoreExecutors.renamingDecorator(executor(), () -> serviceName()); executor.execute( () -> { try { startUp();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 7.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
owner.onFailure this.&onFailure doStart(action) waitForStartToComplete() waitForFinish() return this } /** * Marks that the async. action is now finished. */ void done() { waitForStartToComplete() doFinish() } private void doStart(Runnable action) { owner.startThread {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0)