|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface presents cache that stores resources.
Method Summary | |
void |
add(java.lang.String username,
WfResourceInternal res)
Adds resource to the resource cache. |
WfResourceInternal |
get(java.lang.String username)
Returns the resource from the resource cache with username username. |
void |
remove(java.lang.String username)
Removes resource from the resource cache. |
Methods inherited from interface org.enhydra.shark.api.internal.caching.ObjectCache |
configure, getAll, getSize, howManyEntries, setSize |
Method Detail |
public void add(java.lang.String username, WfResourceInternal res) throws java.lang.Exception
username
- username of the resource.res
- WfResourceInternal object to be added to the resource cache.
java.lang.Exception
- Thrown if an error occurs.public void remove(java.lang.String username) throws java.lang.Exception
username
- username of the resource.
java.lang.Exception
- Thrown if an error occurs.public WfResourceInternal get(java.lang.String username) throws java.lang.Exception
username
- username of the resource.
java.lang.Exception
- Thrown if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |