info.informatica.util
Class ObjectCache
java.lang.Object
info.informatica.util.ObjectCache
- Direct Known Subclasses:
- PropertyDNSCache, SQLDnsCache
public abstract class ObjectCache
- extends Object
Abstract class for Object caches
- Version:
- 1.02
- Author:
- amengual at informatica dot info
ObjectCache
public ObjectCache()
init
public abstract void init(Properties p)
throws CacheException
- Throws:
CacheException
lookupString
public abstract String lookupString(String ip)
lookup
public abstract DatedContainer lookup(String ip)
put
public abstract void put(String ip,
String name)
put
public void put(String ip,
DatedContainer<String> dc)
setExpireTime
public abstract void setExpireTime(long t)
- Sets the cache entry expire time.
- Parameters:
t - the time in seconds.
close
public abstract void close()
throws CacheException
- Closes this cache.
- Throws:
CacheException - if a problem arose when attempting to close.