public class AbstractProxyCache
extends java.lang.Object
Constructor and Description |
---|
AbstractProxyCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the cache.
|
FilterChain |
createFilterChain(FilterChain next,
WebApp app)
Creates the filter.
|
int |
getEntries() |
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 |
setEnableMmap(boolean isEnable) |
void |
setEntries(int entries)
Sets the max number of entries.
|
void |
setMemorySize(Bytes bytes) |
void |
setPath(Path path)
Sets the path to the cache directory.
|
void |
setRewriteVaryAsPrivate(boolean isEnable) |
void |
setSize(Bytes size)
Sets the size of the the cache (backwards compatibility).
|
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 final void setEntries(int entries)
public final int getEntries()
public void setEnableMmap(boolean isEnable)
public void setDir(Path path)
public void setSize(Bytes size)
public void setMemorySize(Bytes bytes)
public void setRewriteVaryAsPrivate(boolean isEnable)
public FilterChain createFilterChain(FilterChain next, WebApp app)
public void clear()
public long getHitCount()
public long getMissCount()
public long getMemoryBlockHitCount()
public long getMemoryBlockMissCount()