Modifier and Type | Field and Description |
---|---|
static TypedPreference<String> |
EXCLUDED_THREADS_REGEXP |
static IAggregator<IQuantity,?> |
MONITOR_BALANCE_BY_INSTANCE |
static IAggregator<IQuantity,?> |
MONITOR_BALANCE_BY_THREAD |
Constructor and Description |
---|
JavaBlockingRule() |
Modifier and Type | Method and Description |
---|---|
RunnableFuture<Result> |
evaluate(IItemCollection items,
IPreferenceValueProvider valueProvider)
Gets a future representing the result of the evaluation of this rule.
|
Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
String |
getId() |
String |
getName() |
String |
getTopic() |
public static final TypedPreference<String> EXCLUDED_THREADS_REGEXP
public static final IAggregator<IQuantity,?> MONITOR_BALANCE_BY_INSTANCE
public static final IAggregator<IQuantity,?> MONITOR_BALANCE_BY_THREAD
public RunnableFuture<Result> evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
IRule
evaluate
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()
.public Collection<TypedPreference<?>> getConfigurationAttributes()
IRule
getConfigurationAttributes
in interface IRule
public String getId()
public String getName()
Copyright © 2020. All rights reserved.