Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setAccessTime (0.27 sec)

  1. android/guava/src/com/google/common/cache/ReferenceEntry.java

      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

          // TODO(fry): when we link values instead of entries this method can go
          // away, as can connectAccessOrder, nullifyAccessOrder.
          newEntry.setAccessTime(original.getAccessTime());
    
          connectAccessOrder(original.getPreviousInAccessQueue(), newEntry);
          connectAccessOrder(newEntry, original.getNextInAccessQueue());
    
          nullifyAccessOrder(original);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertFalse(segment.containsValue(dummyValue));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertFalse(segment.containsValue(dummyValue));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top