org.objectweb.perseus.cache.api
Interface CacheCapacityEvent
- BasicCacheManager.CapacityEvent
public interface CacheCapacityEvent
This class represents an event produced by the cache when its size has been
changed.
- Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)
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.
|
NOTIFY_CACHE_RESIZE
public static final int NOTIFY_CACHE_RESIZE
Used to notify a cache resizing
- 1
getEventId
public int getEventId()
Returns the cache event type.
getOldSize
public int getOldSize()
It retrieves the old cache size before the resizing.
getSize
public int getSize()
It retrieves the new cache size.
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.