- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for startAsync (0.09 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
thrownByExecutionThread); } public void testServiceStartStop() throws Exception { WaitOnRunService service = new WaitOnRunService(); assertFalse(service.startUpCalled); service.startAsync().awaitRunning(); assertTrue(service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); enterRun.await(); // to avoid stopping the service until run() is invoked
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 18:46 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java
public final Throwable failureCause() { return delegate.failureCause(); } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service startAsync() { delegate.startAsync(); return this; } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service stopAsync() { delegate.stopAsync(); return this;
Registered: 2025-05-30 12:43 - Last Modified: 2025-01-18 02:54 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* method is called. */ @CanIgnoreReturnValue public ServiceManager startAsync() { for (Service service : services) { checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this); } for (Service service : services) { try { state.tryStartTiming(service); service.startAsync(); } catch (IllegalStateException e) {
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 17:27 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
* method is called. */ @CanIgnoreReturnValue public ServiceManager startAsync() { for (Service service : services) { checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this); } for (Service service : services) { try { state.tryStartTiming(service); service.startAsync(); } catch (IllegalStateException e) {
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 17:27 - 32.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
*/ private volatile StateSnapshot snapshot = new StateSnapshot(NEW); /** Constructor for use by subclasses. */ protected AbstractService() {} /** * This method is called by {@link #startAsync} to initiate service startup. The invocation of * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
Registered: 2025-05-30 12:43 - Last Modified: 2025-02-19 21:24 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link * #stopAsync()} lifecycle methods to transition between states. Example services include * webservers, RPC servers and timers. * * <p>The normal lifecycle of a service is: * * <ul>
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-21 03:10 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
public final Throwable failureCause() { return delegate.failureCause(); } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service startAsync() { delegate.startAsync(); return this; } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service stopAsync() { delegate.stopAsync(); return this;
Registered: 2025-05-30 12:43 - Last Modified: 2025-01-18 02:54 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
*/ private volatile StateSnapshot snapshot = new StateSnapshot(NEW); /** Constructor for use by subclasses. */ protected AbstractService() {} /** * This method is called by {@link #startAsync} to initiate service startup. The invocation of * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
Registered: 2025-05-30 12:43 - Last Modified: 2025-02-19 21:24 - 20.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
import java.time.Duration; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link * #stopAsync()} lifecycle methods to transition between states. Example services include * webservers, RPC servers and timers. * * <p>The normal lifecycle of a service is: * * <ul>
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-21 03:10 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public final Throwable failureCause() { return delegate.failureCause(); } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service startAsync() { delegate.startAsync(); return this; } /** * @since 15.0 */ @CanIgnoreReturnValue @Override public final Service stopAsync() { delegate.stopAsync(); return this;
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-14 16:07 - 27.7K bytes - Viewed (0)