Class KieRepositoryImpl.KieModuleRepo
- java.lang.Object
-
- org.drools.compiler.kie.builder.impl.KieRepositoryImpl.KieModuleRepo
-
- Enclosing class:
- KieRepositoryImpl
public static class KieRepositoryImpl.KieModuleRepo extends Object
The methods in this class are all synchronized because 1. performance is not particularly important here 2. I wrote performant concurrent code and then realized it was not easily maintainable (and maintainability is more important here, AFAICT), so we're using synchronized methods instead
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_GA_MAX_PROPERTYstatic StringCACHE_VERSIONS_MAX_PROPERTYMap<String,NavigableMap<org.kie.api.builder.ReleaseIdComparator.ComparableVersion,org.kie.api.builder.KieModule>>kieModulesstatic intMAX_SIZE_GA_CACHEstatic intMAX_SIZE_GA_VERSIONS_CACHELinkedHashMap<org.kie.api.builder.ReleaseId,org.kie.api.builder.KieModule>oldKieModules
-
Constructor Summary
Constructors Constructor Description KieModuleRepo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.builder.KieModuleremove(org.kie.api.builder.ReleaseId releaseId)voidstore(org.kie.api.builder.KieModule kieModule)
-
-
-
Field Detail
-
CACHE_GA_MAX_PROPERTY
public static final String CACHE_GA_MAX_PROPERTY
- See Also:
- Constant Field Values
-
MAX_SIZE_GA_CACHE
public static int MAX_SIZE_GA_CACHE
-
CACHE_VERSIONS_MAX_PROPERTY
public static final String CACHE_VERSIONS_MAX_PROPERTY
- See Also:
- Constant Field Values
-
MAX_SIZE_GA_VERSIONS_CACHE
public static int MAX_SIZE_GA_VERSIONS_CACHE
-
kieModules
public final Map<String,NavigableMap<org.kie.api.builder.ReleaseIdComparator.ComparableVersion,org.kie.api.builder.KieModule>> kieModules
-
oldKieModules
public final LinkedHashMap<org.kie.api.builder.ReleaseId,org.kie.api.builder.KieModule> oldKieModules
-
-