Package org.opencms.loader.imagecache
Class CmsImageCacheEntry
java.lang.Object
org.opencms.loader.imagecache.CmsImageCacheEntry
Backend-neutral metadata for an image cache entry.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsImageCacheEntry(String key, long length, Instant lastModified, String revision) Creates an image cache entry. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the cache key.Returns the last modification time.longReturns the entry length.Returns the opaque backend revision.
-
Constructor Details
-
CmsImageCacheEntry
Creates an image cache entry.- Parameters:
key- the cache keylength- the entry lengthlastModified- the last modification time, ornullrevision- an opaque backend revision, ornull
-
-
Method Details
-
getKey
Returns the cache key.- Returns:
- the cache key
-
getLastModified
Returns the last modification time.- Returns:
- the last modification time, or
null
-
getLength
Returns the entry length.- Returns:
- the entry length
-
getRevision
Returns the opaque backend revision.- Returns:
- the backend revision, or
null
-