|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Map<K,V>
A sub-class of java.util.Map that defines additional
methods that will be implemented by all the implementations that
are used to implement caches.
Copyright 2004-2006 Rakesh Vidyadharan
| Nested Class Summary | |
|---|---|
static interface |
Map.Statistics
An interface that defines the methods that may be invoked to monitor cache usage. |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Method Summary | |
|---|---|
int |
getMaxEntries()
Returns the maximum number of entries that may be held in the map. |
Map.Statistics |
getStatistics()
Returns statistics about cache access. |
void |
setMaxEntries(int maxEntries)
Set the maximum number of entries that may be help in the map. |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
int getMaxEntries()
void setMaxEntries(int maxEntries)
maxEntries - The value to set.Map.Statistics getStatistics()
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||