Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getWriteTime (0.15 sec)

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

       * expired from the head of the list.
       */
    
      @SuppressWarnings("GoodTime")
      /** Returns the time that this entry was last written, in ns. */
      long getWriteTime();
    
      /** Sets the entry write time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setWriteTime(long time);
    
      /** Returns the next entry in the write 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 connectWriteOrder, nullifyWriteOrder.
          newEntry.setWriteTime(original.getWriteTime());
    
          connectWriteOrder(original.getPreviousInWriteQueue(), newEntry);
          connectWriteOrder(newEntry, original.getNextInWriteQueue());
    
          nullifyWriteOrder(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 (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
    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 (ReferenceEntry<K, V> e : segment.recencyQueue) {
            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
    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