|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.AbstractConfigBean
org.torweg.pulse.configuration.PoorMansCacheConfiguration
public final class PoorMansCacheConfiguration
configuration for the PoorMansCache, configuring the VFS cache.
| Constructor Summary | |
|---|---|
PoorMansCacheConfiguration()
|
|
| Method Summary | |
|---|---|
long |
getMaxCacheSize()
returns the maximum size of the VFS cache. |
long |
getMaxFileSize()
returns the maximum file size, for virtual files to get cached. |
TimeSpan |
getMaxInactive()
returns the maximum time of files to be inactive in the cache. |
void |
init(org.jdom.Element conf)
initialises the config bean from JDOM. |
boolean |
isVirtualFileCacheEnabled()
returns whether the VFS cache is enabled. |
| Methods inherited from class org.torweg.pulse.configuration.AbstractConfigBean |
|---|
buildClass, buildInstance, lastModified, setLastModified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoorMansCacheConfiguration()
| Method Detail |
|---|
public void init(org.jdom.Element conf)
conf - the configuration JDOMConfigBean.init(org.jdom.Element)public boolean isVirtualFileCacheEnabled()
true, if and only if the VFS cache is enabled.
Otherwise false.public long getMaxFileSize()
public long getMaxCacheSize()
public TimeSpan getMaxInactive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||