Modifier and Type | Field and Description |
---|---|
private static java.util.List<TypedPreference<?>> |
CONFIG_ATTRIBUTES |
static TypedPreference<IQuantity> |
GC_PAUSE_INFO_LIMIT |
static TypedResult<IQuantity> |
HEAP_SIZE |
static TypedResult<IQuantity> |
LIVE_SET |
static TypedResult<IQuantity> |
LONGEST_PAUSE |
private static java.util.Map<java.lang.String,RulesToolkit.EventAvailability> |
REQUIRED_EVENTS |
private static java.util.Collection<TypedResult<?>> |
RESULT_ATTRIBUTES |
private static java.lang.String |
RESULT_ID |
Constructor and Description |
---|
LongGcPauseRule() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
appendMessage(java.lang.String message,
java.lang.String newMessage) |
java.util.concurrent.RunnableFuture<IResult> |
createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider)
Gets a future representing the result of the evaluation of this rule.
|
private static java.lang.String |
getCollectorMessage(IItemCollection items) |
java.util.Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
java.lang.String |
getId() |
private static java.lang.String |
getLivesetMessage(IQuantity liveSet,
IQuantity maxMx) |
java.lang.String |
getName() |
java.util.Map<java.lang.String,RulesToolkit.EventAvailability> |
getRequiredEvents() |
private IResult |
getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
java.util.Collection<TypedResult<?>> |
getResults()
Gets information about which results may be part of an
IResult instance. |
private static java.lang.String |
getSemiRefsMessage(IItemCollection items) |
java.lang.String |
getTopic() |
private static final java.lang.String RESULT_ID
public static final TypedPreference<IQuantity> GC_PAUSE_INFO_LIMIT
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 TypedResult<IQuantity> LONGEST_PAUSE
public static final TypedResult<IQuantity> LIVE_SET
public static final TypedResult<IQuantity> HEAP_SIZE
private static final java.util.Collection<TypedResult<?>> RESULT_ATTRIBUTES
private IResult getResult(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)
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.private static java.lang.String appendMessage(java.lang.String message, java.lang.String newMessage)
private static java.lang.String getCollectorMessage(IItemCollection items)
private static java.lang.String getLivesetMessage(IQuantity liveSet, IQuantity maxMx)
private static java.lang.String getSemiRefsMessage(IItemCollection items)
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