scone.netobjects
Class KeywordCache

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

public class KeywordCache
extends java.lang.Object
implements TableRecordCacheInterface

Access and cache Keywords 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
KeywordCache()
           
 
Method Summary
static void clean()
           
static Keyword get(java.lang.String word)
           
static Keyword getById(java.lang.String id)
           
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

KeywordCache

public KeywordCache()
Method Detail

init

public static void init(int timeTillCleanUp,
                        int gcType)

getById

public static Keyword getById(java.lang.String id)

get

public static Keyword get(java.lang.String word)

clean

public static void clean()