Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getAccessTime (0.11 sec)

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

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @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. */
    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

        }
    
        for (Segment<K, V> segment : map.segments) {
          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
    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

        }
    
        for (Segment<K, V> segment : map.segments) {
          long lastAccessTime = 0;
          long lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
    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