Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.services.cache
Class Clock  view Clock download Clock.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.apache.derby.impl.services.cache.Clock
All Implemented Interfaces:
org.apache.derby.iapi.services.cache.CacheManager, java.lang.Cloneable, java.util.Map, java.io.Serializable, org.apache.derby.iapi.services.daemon.Serviceable

final class Clock
extends java.util.Hashtable
implements org.apache.derby.iapi.services.cache.CacheManager, org.apache.derby.iapi.services.daemon.Serviceable

A cache manager that uses a Hashtable and a ArrayList. The ArrayList holds CachedItem objects, each with a holder object. The Hashtable is keyed by the identity of the holder object (Cacheable.getIdentity()) and the data portion is a pointer to the CachedItem. CachedItems that have holder objects with no identity do not have entries in the hashtable.

CachedItems can in various state.