|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for basic cache methods.
Method Summary | |
void |
configure(CallbackUtilities cus)
Configures cache. |
java.util.List |
getAll()
Returns all values from the cache. |
int |
getSize()
Returns the size of the cache. |
int |
howManyEntries()
Returns the number of entries in the cache. |
void |
setSize(int size)
Sets size of the cache to value size. |
Method Detail |
public void configure(CallbackUtilities cus) throws java.lang.Exception
cus
- an instance of CallbackUtilities used to get
properties for configuring cache.
java.lang.Exception
- Thrown if an error occurs.public void setSize(int size) throws java.lang.Exception
size
- new size of the cache.
java.lang.Exception
- Thrown if an error occurs.public int getSize() throws java.lang.Exception
java.lang.Exception
- Thrown if an error occurs.public int howManyEntries() throws java.lang.Exception
java.lang.Exception
- Thrown if an error occurs.public java.util.List getAll() throws java.lang.Exception
java.lang.Exception
- Thrown if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |