Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NoOpService (0.24 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    
        service.stopAsync().awaitTerminated();
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
      }
    
      public void testNoOpServiceStopIdempotenceDoubleWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    
        service.stopAsync().awaitTerminated();
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
      }
    
      public void testNoOpServiceStopIdempotenceDoubleWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // ensure that if weird things happen during construction then we get exceptions.
        final NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // ensure that if weird things happen during construction then we get exceptions.
        final NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

                  "ServiceManager configured with no services.  Is your application configured"
                      + " properly?",
                  new EmptyServiceManagerWarning());
          copy = ImmutableList.<Service>of(new NoOpService());
        }
        this.state = new ServiceManagerState(copy);
        this.services = copy;
        WeakReference<ServiceManagerState> stateReference = new WeakReference<>(state);
        for (Service service : copy) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
Back to top