Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for drainRecencyQueues (0.21 sec)

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

       * without throwing an exception.
       */
      static boolean hasLocalCache(Cache<?, ?> cache) {
        return (checkNotNull(cache) instanceof LocalLoadingCache);
      }
    
      static void drainRecencyQueues(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          LocalCache<?, ?> map = toLocalCache(cache);
          for (Segment<?, ?> segment : map.segments) {
            drainRecencyQueue(segment);
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheTesting.java

       * without throwing an exception.
       */
      static boolean hasLocalCache(Cache<?, ?> cache) {
        return (checkNotNull(cache) instanceof LocalLoadingCache);
      }
    
      static void drainRecencyQueues(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          LocalCache<?, ?> map = toLocalCache(cache);
          for (Segment<?, ?> segment : map.segments) {
            drainRecencyQueue(segment);
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top