Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Kistner (0.15 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener));
        assertTrue(listener.isEmpty());
    
        Object one = new Object();
        Object two = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().removalListener(listener));
        assertTrue(listener.isEmpty());
    
        Object one = new Object();
        Object two = new Object();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          return UNSAFE.compareAndSwapObject(future, LISTENERS_OFFSET, expect, update);
        }
    
        /** Performs a GAS operation on the {@link #listeners} field. */
        @Override
        Listener gasListeners(AbstractFuture<?> future, Listener update) {
          while (true) {
            Listener listener = future.listeners;
            if (update == listener) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>When a {@code ListenableFuture} listener is registered to run under {@code
       *       directExecutor}, the listener can execute in any of three possible threads:
       *       <ol>
       *         <li>When a thread attaches a listener to a {@code ListenableFuture} that's already
       *             complete, the listener runs immediately in that thread.
       *         <li>When a thread attaches a listener to a {@code ListenableFuture} that's
    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)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      // operation in the constructor.
      //
      // 1. In the listener that performs the callback. In this case it is fine since inputFuture is
      //    assigned prior to calling addListener, and addListener happens-before any invocation of the
      //    listener. Notably, this means that 'volatile' is unnecessary to make 'inputFuture' visible
      //    to the listener.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top