|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cache
| Method Summary | |
|---|---|
void |
clear()
Remove all values from the cache |
void |
close()
|
byte[][] |
getCachedValues(byte[] handle,
byte[][] reqTypes,
int[] reqIndexes)
Returns any non-expired handle values that are in the caches storage. |
void |
setCachedValues(byte[] handle,
HandleValue[] newValues,
byte[][] newTypeList,
int[] newIndexList)
Store the given handle values after a query for the handle. |
void |
setMaximumHandles(int maxHandles)
Set the maximum size for the cache by the number of handles. |
void |
setMaximumSize(int maxSize)
Set the maximum size for the cache by the number of bytes used for storage. |
| Method Detail |
|---|
byte[][] getCachedValues(byte[] handle,
byte[][] reqTypes,
int[] reqIndexes)
throws java.lang.Exception
java.lang.Exception
void setCachedValues(byte[] handle,
HandleValue[] newValues,
byte[][] newTypeList,
int[] newIndexList)
throws java.lang.Exception
java.lang.Exceptionvoid setMaximumHandles(int maxHandles)
void setMaximumSize(int maxSize)
void clear()
throws java.lang.Exception
java.lang.Exception
void close()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||