public class Cache extends Object
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Constructor and Description |
---|
Cache(StandardRoot root) |
Modifier and Type | Method and Description |
---|---|
protected void |
backgroundProcess() |
void |
clear() |
long |
getHitCount() |
long |
getLookupCount() |
int |
getMaxObjectSize() |
int |
getMaxObjectSizeBytes() |
long |
getMaxSize() |
protected WebResource |
getResource(String path,
boolean useClassLoaderResources) |
long |
getSize() |
long |
getTtl() |
void |
setMaxObjectSize(int maxObjectSize) |
void |
setMaxSize(long maxSize) |
void |
setTtl(long ttl) |
protected static final StringManager sm
public Cache(StandardRoot root)
protected WebResource getResource(String path, boolean useClassLoaderResources)
protected void backgroundProcess()
public long getTtl()
public void setTtl(long ttl)
public long getMaxSize()
public void setMaxSize(long maxSize)
public long getLookupCount()
public long getHitCount()
public void setMaxObjectSize(int maxObjectSize)
public int getMaxObjectSize()
public int getMaxObjectSizeBytes()
public void clear()
public long getSize()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.