scone.netobjects
Class PersonCache

java.lang.Object
  extended by scone.netobjects.PersonCache
All Implemented Interfaces:
TableRecordCacheInterface

public class PersonCache
extends java.lang.Object
implements TableRecordCacheInterface

Used to access and cache Person objects

Author:
Harald Weinreich, Volkert Buchmann

Field Summary
protected static CacheTable cache
           
static java.lang.Object lock
           
 
Constructor Summary
PersonCache()
           
 
Method Summary
static void clean()
           
static Person getById(java.lang.String id)
          Returns a person by it id key
static void init(int timeTillCleanUp, int gcType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

protected static CacheTable cache

lock

public static java.lang.Object lock
Constructor Detail

PersonCache

public PersonCache()
Method Detail

init

public static void init(int timeTillCleanUp,
                        int gcType)

getById

public static Person getById(java.lang.String id)
Returns a person by it id key


clean

public static void clean()