Constructor and Description |
---|
IncreasingLiveSetRule() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider)
Gets a future representing the result of the evaluation of this rule.
|
java.util.Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
java.lang.String |
getId() |
java.lang.String |
getName() |
private IQuantity |
getPostWarmupTime(IItemCollection items,
IQuantity classesLoadedPercent) |
private java.util.List<ReferenceTreeObject> |
getReferenceChain(ReferenceTreeObject candidate) |
java.util.Map<java.lang.String,RulesToolkit.EventAvailability> |
getRequiredEvents() |
private IResult |
getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.Collection<TypedResult<?>> |
getResults()
Gets information about which results may be part of an
IResult instance. |
java.lang.String |
getTopic() |
private static final double PERCENT_OF_HEAP_INCREASE_PER_SECOND
private static final java.lang.String RESULT_ID
public static final TypedPreference<IQuantity> CLASSES_LOADED_PERCENT
public static final TypedPreference<IQuantity> RELEVANCE_THRESHOLD
public static final TypedPreference<IQuantity> YOUNG_COLLECTION_THRESHOLD
private static final java.util.List<TypedPreference<?>> CONFIG_ATTRIBUTES
private static final java.util.Map<java.lang.String,RulesToolkit.EventAvailability> REQUIRED_EVENTS
public static final ContentType<ReferenceTreeObject> REFERENCE_TREE_OBJECT
public static final TypedResult<IQuantity> LIVESET_INCREASE
public static final TypedResult<IQuantity> TIME_AFTER_JVM_START
public static final TypedResult<IQuantity> LEAK_CANDIDATE_COUNT
public static final TypedResult<ReferenceTreeObject> LEAK_CANDIDATE
public static final TypedCollectionResult<ReferenceTreeObject> REFERENCE_CHAIN
public static final TypedResult<IQuantity> POST_WARMUP_TIME
private static final java.util.Collection<TypedResult<?>> RESULT_ATTRIBUTES
private IResult getResult(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
private java.util.List<ReferenceTreeObject> getReferenceChain(ReferenceTreeObject candidate)
private IQuantity getPostWarmupTime(IItemCollection items, IQuantity classesLoadedPercent)
public java.util.concurrent.RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
IRule
createEvaluation
in interface IRule
items
- items to evaluatevalueProvider
- Provider of configuration values used for evaluation. The attributes that will be
asked for from the provider should be provided by
IRule.getConfigurationAttributes()
.resultProvider
- Provider of results from rules evaluated prior to this rule and which this rule
explicitly depends on via a DependsOn
annotation. The attributes that will
be asked for from the provider will be provided by each dependant rule, e.g. via
public static constants.public java.util.Collection<TypedPreference<?>> getConfigurationAttributes()
IRule
getConfigurationAttributes
in interface IRule
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getTopic()
public java.util.Map<java.lang.String,RulesToolkit.EventAvailability> getRequiredEvents()
getRequiredEvents
in interface IRule
RulesToolkit.EventAvailability
this rule
requires for that event typepublic java.util.Collection<TypedResult<?>> getResults()
IRule
IResult
instance.getResults
in interface IRule