|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.cert.DefaultCertStoreCachePolicy
public class DefaultCertStoreCachePolicy
Default implementation of a cache policy.
| Constructor Summary | |
|---|---|
DefaultCertStoreCachePolicy()
Constructs a policy with default settings: MaxItems: 1000 Subject TTL: 1 day |
|
| Method Summary | |
|---|---|
int |
getMaxItems()
The maximum number of items that can be held in the cache. |
int |
getSubjectTTL()
The maximum amount of time a subject's certificates can remain in the cache before getting purged. |
void |
setMaxItems(int maxItems)
Sets the maximum number items allowed in the cache. |
void |
setSubjectTTL(int subjectTTL)
Sets the maximum amount of time a subject will remain in the cache. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCertStoreCachePolicy()
| Method Detail |
|---|
public int getMaxItems()
getMaxItems in interface CertStoreCachePolicypublic void setMaxItems(int maxItems)
maxItems - The maximum number items allowed in the cache.public void setSubjectTTL(int subjectTTL)
subjectTTL - The maximum amount of time in seconds a subject will remain in the cache.public int getSubjectTTL()
getSubjectTTL in interface CertStoreCachePolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||