|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Caches AccessControlCheck instances. Caching of
AccessControlChecks may be used to improve Cams system performance or record
the state of various requests for analysis.
| Method Summary | |
AccessControlCheck |
add(ResourceRequest resourceRequest,
AccessControlResponse response)
Adds an AccessControlCheck to the cache. |
void |
clear()
Clears the cache. |
AccessControlCheck |
get(ResourceRequest resReq)
Returns the AccessControlCheck that matches a ResourceRequest. |
int |
getMaxSize()
Returns the maximum size of the cache. |
int |
getSize()
Returns the size of the cache. |
void |
remove(AccessControlCheck acchk)
Removes an AccessControlCheck from the cache. |
Iterator |
values()
Returns all cached AccessControlCheck values. |
| Method Detail |
public AccessControlCheck add(ResourceRequest resourceRequest,
AccessControlResponse response)
throws AccessControlCheckException
resourceRequest - the resource request for which the response will
be cachedresponse - the response to cache
AccessControlCheckExceptionpublic void remove(AccessControlCheck acchk)
acchk - the AccessControlCheck to be removed.public AccessControlCheck get(ResourceRequest resReq)
resReq - the ResourceRequest.
public Iterator values()
public int getSize()
public int getMaxSize()
public void clear()
All cached AccessControlChecks are cleared.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||