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()
350 public long serverDate; field in DiskBasedCache.CacheHeader375 this.serverDate = entry.serverDate; in CacheHeader()399 entry.serverDate = readLong(is); in readHeader()415 e.serverDate = serverDate; in toCacheEntry()432 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