|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lobobrowser.settings.CacheSettings
public class CacheSettings
Browser cache settings. This is a singleton class
with an instance obtained by calling getInstance().
| Method Summary | |
|---|---|
int |
getDefaultCacheExpirationOffset()
|
static CacheSettings |
getInstance()
Gets the class singleton. |
int |
getMaxRAMCacheSize()
|
void |
resetDefaults()
|
void |
save()
|
void |
setDefaultCacheExpirationOffset(int defaultCacheExpirationOffset)
Sets the default offset in seconds added to the response cache timestamp to get the expiration time of a document. |
void |
setMaxRAMCacheSize(int maxRAMCacheSize)
Sets the approximate maximum RAM cache size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CacheSettings getInstance()
public void save()
public void resetDefaults()
public int getMaxRAMCacheSize()
public void setMaxRAMCacheSize(int maxRAMCacheSize)
maxRAMCacheSize - The maximum cache size in bytes.public int getDefaultCacheExpirationOffset()
public void setDefaultCacheExpirationOffset(int defaultCacheExpirationOffset)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||