ostore.cache
Class CacheManager

java.lang.Object
  |
  +--ostore.cache.CacheManager
All Implemented Interfaces:
EventHandlerIF, ProfilableIF

public class CacheManager
extends Object
implements EventHandlerIF, ProfilableIF

Version:
$Id: CacheManager.java,v 1.6 2004/05/13 20:13:30 hweather Exp $
Author:
Hakim Weatherspoon

Nested Class Summary
static class CacheManager.CacheAvailable
          A simple class to store CacheAvailable state for a cache.
 
Constructor Summary
CacheManager()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
 int profileSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManager

public CacheManager()
Method Detail

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

handleEvents

public void handleEvents(QueueElementIF[] items)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF
Exception

profileSize

public int profileSize()
Specified by:
profileSize in interface ProfilableIF