|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.resource.Resource
Base class for resources which can be managed by the ResourceManager.
Field Summary | |
private java.lang.String |
cacheHint
The CachHint can be used to get Resources out of the Cache instead of generating them with each request. |
private boolean |
cacheOnDisk
The Flag is true if the Resource is stored in the file system |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
Resource(Cachable cacheInfo)
Constructor for Resource |
Method Summary | |
boolean |
isCacheOnDisk()
|
boolean |
isUpToDate(Cachable cacheInfo)
Checks if the Resource is up to date or must be new created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private java.lang.String cacheHint
null
.
private boolean cacheOnDisk
true
if the Resource is stored in the file system
Constructor Detail |
public Resource(Cachable cacheInfo)
cacheInfo
- CachableMethod Detail |
public final boolean isUpToDate(Cachable cacheInfo)
cacheInfo
- Cachable
public boolean isCacheOnDisk()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |