Searched refs:serverDate (Results 1 – 5 of 5) sorted by relevance
44 long serverDate = 0; in parseCacheHeaders() local59 serverDate = parseDateAsEpoch(headerValue); in parseCacheHeaders()105 } else if (serverDate > 0 && serverExpires >= serverDate) { in parseCacheHeaders()107 softExpire = now + (serverExpires - serverDate); in parseCacheHeaders()116 entry.serverDate = serverDate; in parseCacheHeaders()
351 public long serverDate; field in DiskBasedCache.CacheHeader376 this.serverDate = entry.serverDate; in CacheHeader()400 entry.serverDate = readLong(is); in readHeader()416 e.serverDate = serverDate; in toCacheEntry()433 writeLong(os, serverDate); in writeHeader()
37 e.serverDate = 1234567L; in cacheHeaderSerialization()52 assertEquals(first.serverDate, second.serverDate); in cacheHeaderSerialization()
59 assertEquals(0, entry.serverDate); in parseCacheHeaders_noHeaders()95 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); in parseCacheHeaders_normalExpire()110 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); in parseCacheHeaders_expiresInPast()
75 public long serverDate; field in Cache.Entry