Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for doCancelStart (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * invoked immediately. Instead, it will be deferred until after the service is {@link
       * State#RUNNING}. Services that need to cancel startup work can override {@link #doCancelStart}.
       */
      @ForOverride
      protected abstract void doStop();
    
      /**
       * This method is called by {@link #stopAsync} when the service is still starting (i.e. {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Service a =
            new AbstractService() {
              @Override
              protected void doStart() {
                // Never starts!
              }
    
              @Override
              protected void doCancelStart() {
                assertThat(state()).isEqualTo(Service.State.STOPPING);
                notifyStopped();
              }
    
              @Override
              protected void doStop() {
    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)
  3. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Service a =
            new AbstractService() {
              @Override
              protected void doStart() {
                // Never starts!
              }
    
              @Override
              protected void doCancelStart() {
                assertThat(state()).isEqualTo(Service.State.STOPPING);
                notifyStopped();
              }
    
              @Override
              protected void doStop() {
    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)
Back to top