Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getWriteTimestamp (0.4 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      private boolean isExpired(Timestamped<V> stamped) {
        if ((expireAfterAccess == UNSET_INT) && (expireAfterWrite == UNSET_INT)) {
          return false;
        }
    
        boolean expireWrite = (stamped.getWriteTimestamp() + expireAfterWrite <= currentTimeNanos());
        boolean expireAccess = (stamped.getAccessTimestamp() + expireAfterAccess <= currentTimeNanos());
    
        if (expireAfterAccess == UNSET_INT) {
          return expireWrite;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top