gov.nasa.worldwind.cache
Class BasicDataFileStore.DBEntry
java.lang.Object
gov.nasa.worldwind.cache.BasicDataFileStore.DBEntry
- All Implemented Interfaces:
- Cacheable
- Enclosing class:
- BasicDataFileStore
protected static class BasicDataFileStore.DBEntry
- extends Object
- implements Cacheable
Holds information for entries in the cache database.
|
Method Summary |
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
protected String contentType
expiration
protected long expiration
lastUpdateTime
protected long lastUpdateTime
LOCAL
protected static final int LOCAL
- See Also:
- Constant Field Values
localUrl
protected URL localUrl
name
protected String name
NONE
protected static final int NONE
- See Also:
- Constant Field Values
PENDING
protected static final int PENDING
- See Also:
- Constant Field Values
state
protected int state
BasicDataFileStore.DBEntry
public BasicDataFileStore.DBEntry(String name)
getSizeInBytes
public long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes in interface Cacheable
- Returns:
- this
Cacheable object's size in bytes