scone.netobjects
Class ServerCache

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

public class ServerCache
extends java.lang.Object
implements TableRecordCacheInterface

caches the Server table from the database and provides means to update the database

Author:
Harald Weinreich, Volkert Buchmann

Field Summary
protected static CacheTable cache
           
static java.lang.Object lock
           
 
Constructor Summary
ServerCache()
           
 
Method Summary
static void clean()
           
static Server get(java.lang.String host)
           
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

ServerCache

public ServerCache()
Method Detail

init

public static void init(int timeTillCleanUp,
                        int gcType)

get

public static Server get(java.lang.String host)

clean

public static void clean()