@AutoService(value=org.hifforce.lattice.cache.ILatticeRuntimeCache.class) public class LatticeRuntimeCache extends SimpleCache implements ILatticeRuntimeCache
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,Long> |
BIZ_CODE_IDX_MAP |
TemplateCache |
CACHE_TEMPLATE_REALIZATION |
static Map<String,Long> |
SCENARIO_IDX_MAP |
| 构造器和说明 |
|---|
LatticeRuntimeCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildExtensionRunnerCache() |
AbilitySpec |
doCacheAbilitySpec(AbilityAnnotation ability,
Class<?> targetClass) |
void |
doCacheExtensionRunner(IAbility ability,
ExtensionRunnerCacheKey key,
Object runner) |
Collection<AbilitySpec> |
getAllCachedAbilities() |
IBusinessExtCache |
getBusinessExtCache() |
Object |
getCachedExtensionRunner(IAbility ability,
ExtensionRunnerCacheKey key) |
TemplateCache |
getTemplateCache() |
doCacheObjectAbilitySpec, getAbilitySpecEntry, getAllCacheAbilitySpec, getExtensionSpecCachepublic TemplateCache CACHE_TEMPLATE_REALIZATION
public IBusinessExtCache getBusinessExtCache()
getBusinessExtCache 在接口中 ILatticeRuntimeCachepublic AbilitySpec doCacheAbilitySpec(AbilityAnnotation ability, Class<?> targetClass)
public Collection<AbilitySpec> getAllCachedAbilities()
public TemplateCache getTemplateCache()
getTemplateCache 在接口中 ILatticeRuntimeCachepublic Object getCachedExtensionRunner(IAbility ability, ExtensionRunnerCacheKey key)
public void buildExtensionRunnerCache()
public void doCacheExtensionRunner(IAbility ability, ExtensionRunnerCacheKey key, Object runner)
Copyright © 2022. All rights reserved.