Interface Cache
- All Known Implementing Classes:
CacheImpl
public interface Cache
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
MessageEntry
int
int
int
int
void
void
void
setCacheTable
(Map cacheTable) void
setMaxBytesKB
(int size) void
setMaxMessages
(int size)
-
Method Details
-
setCacheTable
-
getCacheTable
Map getCacheTable() -
setMaxMessages
void setMaxMessages(int size) -
getMaxMessages
int getMaxMessages() -
setMaxBytesKB
void setMaxBytesKB(int size) -
getMaxBytesKB
int getMaxBytesKB() -
getCurrentMessages
int getCurrentMessages() -
getCurrentBytesKB
int getCurrentBytesKB() -
put
- Throws:
Exception
-
get
- Throws:
Exception
-
remove
- Throws:
Exception
-
clear
void clear()
-