|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.perseus.cache.lib.BasicCacheManager.CapacityEvent
This class is a basic implementation of the CacheCapacityEvent interface.
Field Summary | |
int |
cacheSize
|
int |
eventId
|
int |
oldCacheSize
|
Fields inherited from interface org.objectweb.perseus.cache.api.CacheCapacityEvent |
NOTIFY_CACHE_RESIZE |
Constructor Summary | |
BasicCacheManager.CapacityEvent(int eventid,
int oldCacheSize,
int cacheSize)
|
Method Summary | |
int |
getEventId()
Returns the cache event type. |
int |
getOldSize()
It retrieves the old cache size before the resizing. |
int |
getSize()
It retrieves the new cache size. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int eventId
public int oldCacheSize
public int cacheSize
Constructor Detail |
public BasicCacheManager.CapacityEvent(int eventid, int oldCacheSize, int cacheSize)
Method Detail |
public int getEventId()
CacheCapacityEvent
getEventId
in interface CacheCapacityEvent
public int getOldSize()
CacheCapacityEvent
getOldSize
in interface CacheCapacityEvent
public int getSize()
CacheCapacityEvent
getSize
in interface CacheCapacityEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |