org.objectweb.perseus.cache.api
Interface CacheCapacityEvent

All Known Implementing Classes:
BasicCacheManager.CapacityEvent

public interface CacheCapacityEvent

This class represents an event produced by the cache when its size has been changed.

Author:
Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)

Field Summary
static int NOTIFY_CACHE_RESIZE
          Used to notify a cache resizing
 
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.
 

Field Detail

NOTIFY_CACHE_RESIZE

public static final int NOTIFY_CACHE_RESIZE
Used to notify a cache resizing

See Also:
Constant Field Values
Method Detail

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.