Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for RemovalNotification (0.13 seconds)

  1. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    import org.lastaflute.job.LaJobRuntime;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.RemovalNotification;
    
    import groovy.lang.Binding;
    import groovy.lang.GroovyClassLoader;
    import groovy.lang.Script;
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
        assertThat(listener).hasSize(1);
        RemovalNotification<String, String> notification = listener.remove();
        assertThat(notification.getKey()).isEqualTo("a");
        assertThat(notification.getValue()).isEqualTo("a");
        assertThat(cache.size()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
        assertThat(listener).hasSize(1);
        RemovalNotification<String, String> notification = listener.remove();
        assertThat(notification.getKey()).isEqualTo("a");
        assertThat(notification.getValue()).isEqualTo("a");
        assertThat(cache.size()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private long currentTimeNanos() {
        return ticker.read();
      }
    
      private void alertListenerIfPresent(K key, V value, RemovalCause cause) {
        if (removalListener != null) {
          removalListener.onRemoval(RemovalNotification.create(key, value, cause));
        }
      }
    
      @SuppressWarnings("GoodTime") // timestamps as numeric primitives
      private V load(K key) throws ExecutionException {
        long startTime = ticker.read();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
Back to Top