Class ChainedProperties

java.lang.Object
org.kie.internal.utils.ChainedProperties
All Implemented Interfaces:
Externalizable, Serializable, Cloneable

public class ChainedProperties extends Object implements Externalizable, Cloneable
Priority
  • System properties
  • META-INF/ of provided classLoader

To improve performance in frequent session creation cases, chained properties can be cached by it's conf file name and requesting classloader. To take advantage of the case it must be enabled via system property:
org.kie.property.cache.enabled that needs to be set to true Cache entries are by default limited to 100 to reduce memory consumption but can be fine tuned by system property:
org.kie.property.cache.size that needs to be set to valid integer value
See Also: