org.abora.white.cache
Class CacheManager

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.cache.CacheManager

public abstract class CacheManager
extends Heaper


Constructor Summary
CacheManager()
           
 
Method Summary
 int actualHashForEqual()
          Defined by subclasses to produce the value returned by hashForEqual.
abstract  Heaper fetch(Heaper key)
          Return the value associated with the key, if any.
abstract  boolean hasMember(Heaper key)
          Does te cach contain something at the given key?
abstract  boolean wipe(Heaper key)
          Remove the cached association with key.
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, isEqual, printContentsOn, printOn, sendSelfTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheManager

public CacheManager()
Method Detail

fetch

public abstract Heaper fetch(Heaper key)
Return the value associated with the key, if any.


hasMember

public abstract boolean hasMember(Heaper key)
Does te cach contain something at the given key?


wipe

public abstract boolean wipe(Heaper key)
Remove the cached association with key. Return true if the cache contained something at that key.


actualHashForEqual

public int actualHashForEqual()
Description copied from class: Heaper
Defined by subclasses to produce the value returned by hashForEqual.

Overrides:
actualHashForEqual in class Heaper


Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.