org.objectweb.perseus.cache.api
Interface CacheEvent

All Known Implementing Classes:
BasicCacheManager.Event

public interface CacheEvent

Defines the interface template for CacheEvent implementation.

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

Field Summary
static int NOTIFY_BIND
          Used to notify an add object to cache event.
static int NOTIFY_UNBIND
          Used to notify an object eviction event.
 
Method Summary
 java.lang.Object getCeIdentifier()
           
 CacheEntry getEntry()
           
 int getEventId()
          Returns the cache event type.
 

Field Detail

NOTIFY_BIND

public static final int NOTIFY_BIND
Used to notify an add object to cache event.

See Also:
Constant Field Values

NOTIFY_UNBIND

public static final int NOTIFY_UNBIND
Used to notify an object eviction event.

See Also:
Constant Field Values
Method Detail

getEventId

public int getEventId()
Returns the cache event type.


getEntry

public CacheEntry getEntry()
Returns:
the entry bound

getCeIdentifier

public java.lang.Object getCeIdentifier()
Returns:
the identifier of the entry unbound


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.