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() |
long |
getMaxObjectSize() |
long |
getMaxSize() |
protected WebResource |
getResource(String path) |
long |
getTtl() |
void |
setMaxObjectSize(long maxObjectSize) |
void |
setMaxSize(long maxSize) |
void |
setTtl(long ttl) |
protected static final StringManager sm
public Cache(StandardRoot root)
protected WebResource getResource(String path)
protected void backgroundProcess()
public long getTtl()
public void setTtl(long ttl)
public long getMaxSize()
public void setMaxSize(long maxSize)
public void setMaxObjectSize(long maxObjectSize)
public long getMaxObjectSize()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.