Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for loadCount (0.08 seconds)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        @Test
        public void test_cacheRefresh_withConcurrentReads() throws Exception {
            final int[] loadCount = { 0 };
            final DataStoreFactory testFactory = new DataStoreFactory() {
                @Override
                protected List<String> loadDataStoreNameList() {
                    synchronized (loadCount) {
                        loadCount[0]++;
                    }
                    return List.of("Store1", "Store2");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long loadCount() {
        return saturatedAdd(loadSuccessCount, loadExceptionCount);
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have successfully loaded a new value.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheStats.java

       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long loadCount() {
        return saturatedAdd(loadSuccessCount, loadExceptionCount);
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have successfully loaded a new value.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(stats.hitCount()).isEqualTo(0);
        assertThat(stats.hitRate()).isEqualTo(0.0);
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.missRate()).isEqualTo(1.0);
        assertThat(stats.loadCount()).isEqualTo(1);
        long totalLoadTime = stats.totalLoadTime();
        assertThat(totalLoadTime).isAtLeast(0);
        assertThat(stats.averageLoadPenalty()).isAtLeast(0.0);
        assertThat(stats.evictionCount()).isEqualTo(0);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(stats.hitCount()).isEqualTo(0);
        assertThat(stats.hitRate()).isEqualTo(0.0);
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.missRate()).isEqualTo(1.0);
        assertThat(stats.loadCount()).isEqualTo(1);
        long totalLoadTime = stats.totalLoadTime();
        assertThat(totalLoadTime).isAtLeast(0);
        assertThat(stats.averageLoadPenalty()).isAtLeast(0.0);
        assertThat(stats.evictionCount()).isEqualTo(0);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top