|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccessControlCheckCache
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 |
|---|
AccessControlCheck add(ResourceRequest resourceRequest,
AccessControlResponse response)
throws AccessControlCheckException
resourceRequest - the resource request for which the response will
be cachedresponse - the response to cache
AccessControlCheckExceptionvoid remove(AccessControlCheck acchk)
acchk - the AccessControlCheck to be removed.AccessControlCheck get(ResourceRequest resReq)
resReq - the ResourceRequest.
Iterator values()
int getSize()
int getMaxSize()
void clear()
All cached AccessControlChecks are cleared.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||