Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for triggered (0.18 sec)

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

        waiter.start();
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
        service.stopAsync();
        waiter.join(LONG_TIMEOUT_MILLIS); // ensure that the await in the other thread is triggered
        assertFalse(waiter.isAlive());
      }
    
      public void testAwaitTerminated_FailedService() throws Exception {
        final ManualSwitchedService service = new ManualSwitchedService();
    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

        waiter.start();
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
        service.stopAsync();
        waiter.join(LONG_TIMEOUT_MILLIS); // ensure that the await in the other thread is triggered
        assertFalse(waiter.isAlive());
      }
    
      public void testAwaitTerminated_FailedService() throws Exception {
        final ManualSwitchedService service = new ManualSwitchedService();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       listeners can harm responsiveness, slow the system as a whole, or worse. (See also the
       *       note about locking below.)
       *   <li>If many tasks will be triggered by the same event, one heavyweight task may delay other
       *       tasks -- even tasks that are not themselves {@code directExecutor} tasks.
       *   <li>If many such tasks are chained together (such as with {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // otherwise have another task queued on to it. Note the exception to this, cancellation, is
          // specially handled in execute() - execute() calls triggered by cancellation are no-ops, and
          // thus don't count.
          requireNonNull(sequencer).latestTaskQueue = executingTaskQueue;
          sequencer = null;
          try {
            // requireNonNull is safe, as discussed above.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        //
        // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
        // the monitor with the guard satisfied. Therefore as soon as tearDownLatch is triggered, we
        // should be able to enter the monitor, and then we set the guard to satisfied for the benefit
        // of any remaining waiting threads.
    
        tearDownLatch.countDown();
        assertTrue(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoException if error conditions occur.<br>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Mojo {
        /**
         * Perform whatever build-process behavior this <code>Mojo</code> implements.<br>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testWeakImplementations() {
        for (Striped<?> striped : weakImplementations()) {
          WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));
          GcFinalization.awaitClear(weakRef);
        }
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testWeakReadWrite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
      /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

         *   null _failure message_)
         *
         * That combination upsets NullPointerTester, which wants any call that passes null for a
         * non-@Nullable parameter to trigger a NullPointerException.
         *
         * (We still define this empty method to keep PackageSanityTests from generating its own
         * automated nullness tests, which would fail.)
         */
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top