public class CacheHousekeeper extends Thread implements ShutdownListener
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CacheHousekeeper(MorphiumCache m) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
Integer |
getValidCacheTime(Class<?> cls) |
void |
onShutdown(Morphium m) |
void |
run() |
void |
setAnnotationHelper(AnnotationAndReflectionHelper hlp) |
void |
setDefaultValidCacheTime(Class cls) |
void |
setGlobalValidCacheTime(int gc) |
void |
setHouskeepingPause(int p) |
void |
setValidCacheTime(Class<?> cls,
int timeout) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic CacheHousekeeper(MorphiumCache m)
public void setGlobalValidCacheTime(int gc)
public void setHouskeepingPause(int p)
public void setAnnotationHelper(AnnotationAndReflectionHelper hlp)
public void setValidCacheTime(Class<?> cls, int timeout)
public void setDefaultValidCacheTime(Class cls)
public void end()
public void onShutdown(Morphium m)
onShutdown in interface ShutdownListenerCopyright © 2017. All rights reserved.