public abstract class BaseDescription extends Object implements ICacheDescription
Modifier and Type | Class and Description |
---|---|
protected class |
BaseDescription.LocalCacheClass
This is a cache class implementation that gets expiration and LRU info
from .ini variables.
|
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected ICacheClass |
cacheClass |
protected static Integer |
max_value |
Constructor and Description |
---|
BaseDescription(String objectClassName) |
BaseDescription(String objectClassName,
int maxLRUCount) |
Modifier and Type | Method and Description |
---|---|
ICacheClass |
getObjectClass()
Get the object class for an object.
|
long |
getObjectExpirationTime(long currentTime)
Obtain an expiration time for an object, in milliseconds since epoch.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCriticalSectionName, getObjectKeys
public static final String _rcsid
protected ICacheClass cacheClass
protected static final Integer max_value
public BaseDescription(String objectClassName)
public BaseDescription(String objectClassName, int maxLRUCount)
public ICacheClass getObjectClass()
getObjectClass
in interface ICacheDescription
public long getObjectExpirationTime(long currentTime)
getObjectExpirationTime
in interface ICacheDescription
currentTime
- is the time of the lookup, in milliseconds since epoch.