|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.cache.CacheEntryConfiguration
public final class CacheEntryConfiguration
The configuration for cache entries.
Constructor Summary | |
---|---|
CacheEntryConfiguration(CacheEntryConfigurationType enumEntry) Constructor to build an cache configuration for an entry. |
Method Summary | |
---|---|
int |
getLifespan() Returns the intendet lifespan of an entry. |
TimeUnit |
getLifespanTimeUnit() Returns the time unit TimeUnit for the intended lifespan of an entry. |
int |
getMaxIdleTime() Returns the intended max idle time of an entry. |
TimeUnit |
getMaxIdleTimeTimeUnit() Returns the time unit TimeUnit for the max idle time of an entry. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CacheEntryConfiguration(CacheEntryConfigurationType enumEntry)
enumEntry
- the type of the entry.
Method Detail |
---|
public int getLifespan()
public TimeUnit getLifespanTimeUnit()
TimeUnit
for the intended lifespan of an entry.
public int getMaxIdleTime()
public TimeUnit getMaxIdleTimeTimeUnit()
TimeUnit
for the max idle time of an entry.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |