Class CacheEntry
- java.lang.Object
-
- org.openstreetmap.josm.data.cache.CacheEntry
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BufferedImageCacheEntry
public class CacheEntry extends java.lang.Object implements java.io.Serializable
Class that will hold JCS cache entries- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
content
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CacheEntry(byte[] content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
Returns cache entry content.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
content
protected byte[] content
-
-
Constructor Detail
-
CacheEntry
public CacheEntry(byte[] content)
- Parameters:
content
- of the cache entry
-
-
Method Detail
-
getContent
public byte[] getContent()
Returns cache entry content.- Returns:
- cache entry content
-
-