Class ResourceCache.CacheEntry

java.lang.Object
net.targetr.wtm3.cache.ResourceCache.CacheEntry
Enclosing class:
ResourceCache

public static class ResourceCache.CacheEntry extends Object
Represents a single entry in the resource cache.
  • Field Details

    • found

      public boolean found
      True if the resource was found, false otherwise.
    • data

      public byte[] data
      The binary content of the resource.
    • etag

      public String etag
      The ETag string calculated for the resource data.
    • lastAccessed

      public long lastAccessed
      The timestamp in milliseconds of when the entry was last accessed.
  • Constructor Details

    • CacheEntry

      public CacheEntry()
      Constructs a new CacheEntry.