public class CachingBOLoaderLRUStrategy extends java.lang.Object implements CachingBOLoaderUpdateStrategyI
Modifier and Type | Class and Description |
---|---|
static class |
CachingBOLoaderLRUStrategy.ClassLimitedLRUContainer |
Constructor and Description |
---|
CachingBOLoaderLRUStrategy(CachingBOLoader _boLoader,
java.lang.Class[] _keepClasses,
int[] _maxKeeps,
int _interval) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<EntityI> |
getUpdateableEntities()
A Set of EntityI Instances that will be registered in the DBMan listener and
whose procs will be queried on changes.
|
boolean |
isLoadAnyChangesIntoCache() |
boolean |
isRelevantRegardingKeepClasses(java.lang.Class<? extends BOI> clazz) |
CachingBOLoaderRegistration |
registerKeepClass(java.lang.Class c,
int maxKeep) |
CachingBOLoaderRegistration |
registerKeepClasses(java.lang.Class[] cs,
int maxKeep) |
void |
unregisterKeepClass(CachingBOLoaderRegistration r) |
void |
unregisterKeepClasses(CachingBOLoaderRegistration[] rr) |
void |
unregisterKeepClassesProtected(CachingBOLoaderRegistration[] rr) |
public CachingBOLoaderLRUStrategy(CachingBOLoader _boLoader, java.lang.Class[] _keepClasses, int[] _maxKeeps, int _interval)
public java.util.Set<EntityI> getUpdateableEntities()
CachingBOLoaderUpdateStrategyI
getUpdateableEntities
in interface CachingBOLoaderUpdateStrategyI
public boolean isRelevantRegardingKeepClasses(java.lang.Class<? extends BOI> clazz)
isRelevantRegardingKeepClasses
in interface CachingBOLoaderUpdateStrategyI
public boolean isLoadAnyChangesIntoCache()
isLoadAnyChangesIntoCache
in interface CachingBOLoaderUpdateStrategyI
public CachingBOLoaderRegistration registerKeepClass(java.lang.Class c, int maxKeep)
public CachingBOLoaderRegistration registerKeepClasses(java.lang.Class[] cs, int maxKeep)
public void unregisterKeepClass(CachingBOLoaderRegistration r)
public void unregisterKeepClasses(CachingBOLoaderRegistration[] rr)
public void unregisterKeepClassesProtected(CachingBOLoaderRegistration[] rr)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.