org.mmbase.util
Class Cachehash

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.mmbase.util.Cachehash
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Cachehash
extends java.util.Hashtable

CacheHash, a hashtable that keeps info on max size, type to be able to let the parent control it better for cache/writeback caches

Author:
Daniel Ockeloen
See Also:
Serialized Form

Field Summary
static int DELAYEDSAVE
           
static int SAVE
           
static int TEMP
           
 
Constructor Summary
Cachehash(int type, int max)
           
Cachehash(int type, int max, java.util.Hashtable newHash)
           
 
Method Summary
 int getMax()
           
 int getType()
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TEMP

public static final int TEMP
See Also:
Constant Field Values

SAVE

public static final int SAVE
See Also:
Constant Field Values

DELAYEDSAVE

public static final int DELAYEDSAVE
See Also:
Constant Field Values
Constructor Detail

Cachehash

public Cachehash(int type,
                 int max)

Cachehash

public Cachehash(int type,
                 int max,
                 java.util.Hashtable newHash)
Method Detail

getType

public int getType()

getMax

public int getMax()


MMBase build 1.7.1.20041002