public class DependentCacheManager extends com.escenic.services.SelfPopulatingCacheManager<String,DependentCache>
DependentCache
instances.GenericService.StartCommand, GenericService.StopCommand
CLASS_VERSION
mLogger, state
Constructor and Description |
---|
DependentCacheManager() |
Modifier and Type | Method and Description |
---|---|
protected DependentCache |
load(String pKey)
Computes or retrieves the value corresponding to
key . |
get, getCache, setCache, startService, stopService
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
protected DependentCache load(String pKey) throws Exception
com.escenic.services.SelfPopulatingCacheManager
key
. This method will only be invoked when
someone asks for a pKey
that currently doesn't exists in the cache.load
in class com.escenic.services.SelfPopulatingCacheManager<String,DependentCache>
pKey
- the key whose value should be loaded; will never be null
key
; may not be null
IllegalArgumentException
Exception
- if loading the value failed© 1998- 2018 Stibo DX