org.objectweb.perseus.cache.lib
Class BasicCacheManager.Event

java.lang.Object
  extended byorg.objectweb.perseus.cache.lib.BasicCacheManager.Event
All Implemented Interfaces:
CacheEvent
Enclosing class:
BasicCacheManager

protected class BasicCacheManager.Event
extends java.lang.Object
implements CacheEvent

This class is a basic implementation of the CacheEvent interface.


Field Summary
 int cacheSize
           
 CacheEntry ce
           
 int eventId
           
 java.lang.Object oid
           
 
Fields inherited from interface org.objectweb.perseus.cache.api.CacheEvent
NOTIFY_BIND, NOTIFY_UNBIND
 
Constructor Summary
BasicCacheManager.Event(int eventid, CacheEntry _ce, int cachesize)
           
BasicCacheManager.Event(int eventid, java.lang.Object oid, int cachesize)
           
 
Method Summary
 java.lang.Object getCeIdentifier()
           
 CacheEntry getEntry()
           
 int getEventId()
          Returns the cache event type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventId

public int eventId

ce

public CacheEntry ce

oid

public java.lang.Object oid

cacheSize

public int cacheSize
Constructor Detail

BasicCacheManager.Event

public BasicCacheManager.Event(int eventid,
                               java.lang.Object oid,
                               int cachesize)

BasicCacheManager.Event

public BasicCacheManager.Event(int eventid,
                               CacheEntry _ce,
                               int cachesize)
Method Detail

getEventId

public int getEventId()
Description copied from interface: CacheEvent
Returns the cache event type.

Specified by:
getEventId in interface CacheEvent

getCeIdentifier

public java.lang.Object getCeIdentifier()
Specified by:
getCeIdentifier in interface CacheEvent
Returns:
the identifier of the entry unbound

getEntry

public CacheEntry getEntry()
Specified by:
getEntry in interface CacheEvent
Returns:
the entry bound


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