|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.cache.AbstractCache
public class AbstractCache
Cached response.
| Constructor Summary | |
|---|---|
AbstractCache()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the cache. |
FilterChain |
createFilterChain(FilterChain next,
WebApp app)
Creates the filter. |
long |
getHitCount()
Returns the hit count. |
int |
getMaxEntrySize()
Sets the max entry size of the cache |
long |
getMemoryBlockHitCount()
Returns the memory block hit count. |
long |
getMemoryBlockMissCount()
Returns the memory block miss count. |
long |
getMissCount()
Returns the miss count. |
Path |
getPath()
Returns the path from the cache directory. |
boolean |
isEnable()
Return true if enabled. |
void |
setDir(Path path)
Sets the path to the cache directory (backwards compatibility). |
void |
setDiskSize(Bytes size)
Sets the disk size of the cache |
void |
setEnable(boolean isEnabled)
Set true if enabled. |
void |
setEntries(int entries)
Sets the max number of entries. |
void |
setPath(Path path)
Sets the path to the cache directory. |
void |
setSize(Bytes size)
Sets the size of the the cache (backwards compatibility). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCache()
| Method Detail |
|---|
public void setPath(Path path)
public Path getPath()
public void setDiskSize(Bytes size)
public int getMaxEntrySize()
public void setEnable(boolean isEnabled)
public boolean isEnable()
public void setEntries(int entries)
public void setDir(Path path)
public void setSize(Bytes size)
public FilterChain createFilterChain(FilterChain next,
WebApp app)
public void clear()
public long getHitCount()
public long getMissCount()
public long getMemoryBlockHitCount()
public long getMemoryBlockMissCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||