org.mmbase.util
Class Cachehash

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--org.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

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
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

SAVE

public static final int SAVE

DELAYEDSAVE

public static final int DELAYEDSAVE
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 2001