info.aduna.gee.publication.servlets.cache
Class DefaultsCache

java.lang.Object
  extended by info.aduna.gee.publication.servlets.cache.DefaultsCache

public class DefaultsCache
extends Object

Class DefaultsCache


Field Summary
protected static HashMap _defaultsPerHost
           
protected static HashMap _defaultsTimePerHost
           
 
Constructor Summary
DefaultsCache()
           
 
Method Summary
protected static HashMap _fillCache(String host)
           
static HashMap ensureDefaultsLoaded(String host)
           
static String get(String host, String fileName)
           
static long lastModified(String host)
          When were the defaults for this host changed ?
static void refresh(String host)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_defaultsPerHost

protected static HashMap _defaultsPerHost

_defaultsTimePerHost

protected static HashMap _defaultsTimePerHost
Constructor Detail

DefaultsCache

public DefaultsCache()
Method Detail

ensureDefaultsLoaded

public static HashMap ensureDefaultsLoaded(String host)

_fillCache

protected static HashMap _fillCache(String host)

get

public static String get(String host,
                         String fileName)

refresh

public static void refresh(String host)

lastModified

public static long lastModified(String host)
When were the defaults for this host changed ?



Copyright © 1997-2008 Aduna. All Rights Reserved.