|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.root.db.cache.FactoryCacheAdapter<K,V>
K
- the cache key type.V
- the cache value type.public abstract class FactoryCacheAdapter<K,V>
An adapter to the persister factory cache to be applied as the shared application cache in a two level cache system.
Field Summary | |
---|---|
static String |
ALLOW_EXPIRED_PROPERTY
The allow expired property. |
static String |
AUTO_REFRESH_DECLINED_PROPERTY
The auto refresh declined property. |
static String |
DEFAULT_EXPIRATION_TIME_PROPERTY
The default expiration time property. |
static String |
DISCARD_OVERLOADED_PROPERTY
The discard overloaded property. |
static String |
EXPIRATION_LIMIT_PROPERTY
The expiration limit property. |
static String |
EXPIRATION_SLEEP_INTERVAL_PROPERTY
The expiration sleep interval property. |
static String |
EXPIRATION_THRESHOLD_PROPERTY
The expiration threshold property. |
static String |
MAX_EXPIRATION_TIME_PROPERTY
Themax expiration time property. |
Constructor Summary | |
---|---|
FactoryCacheAdapter(String className,
String alias,
Properties props)
Constructs a new adapter. |
Method Summary | |
---|---|
protected ConcurrentMap<K,V> |
getClientCache()
Gets the client cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ALLOW_EXPIRED_PROPERTY
public static final String DISCARD_OVERLOADED_PROPERTY
public static final String AUTO_REFRESH_DECLINED_PROPERTY
public static final String MAX_EXPIRATION_TIME_PROPERTY
public static final String DEFAULT_EXPIRATION_TIME_PROPERTY
public static final String EXPIRATION_SLEEP_INTERVAL_PROPERTY
public static final String EXPIRATION_LIMIT_PROPERTY
public static final String EXPIRATION_THRESHOLD_PROPERTY
Constructor Detail |
---|
public FactoryCacheAdapter(String className, String alias, Properties props)
className
- the persister class name.alias
- the connection alias.props
- the configuration properties.Method Detail |
---|
protected ConcurrentMap<K,V> getClientCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |