Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadCount (0.04 sec)

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

        assertThat(stats.missRate()).isEqualTo(0.0);
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertThat(stats.loadExceptionRate()).isEqualTo(0.0);
        assertEquals(0, stats.loadCount());
        assertEquals(0, stats.totalLoadTime());
        assertThat(stats.averageLoadPenalty()).isEqualTo(0.0);
        assertEquals(0, stats.evictionCount());
      }
    
      public void testSingle() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        final AtomicInteger loadCount = new AtomicInteger();
        final AtomicInteger reloadCount = new AtomicInteger();
        final AtomicInteger loadAllCount = new AtomicInteger();
    
        CacheLoader<Object, Object> baseLoader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                loadCount.incrementAndGet();
                return new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top