Package | Description |
---|---|
org.openjdk.jmc.flightrecorder.rules |
This package contains interfaces and classes for working with Rules and RuleResults.
|
org.openjdk.jmc.flightrecorder.rules.jdk.compilation | |
org.openjdk.jmc.flightrecorder.rules.jdk.cpu | |
org.openjdk.jmc.flightrecorder.rules.jdk.exceptions | |
org.openjdk.jmc.flightrecorder.rules.jdk.general | |
org.openjdk.jmc.flightrecorder.rules.jdk.io | |
org.openjdk.jmc.flightrecorder.rules.jdk.latency | |
org.openjdk.jmc.flightrecorder.rules.jdk.memory | |
org.openjdk.jmc.flightrecorder.rules.report.html | |
org.openjdk.jmc.flightrecorder.rules.report.html.internal | |
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Class and Description |
---|---|
private static class |
ResultBuilder.Result |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.FutureTask<IResult> |
AbstractRule.evaluationTask |
Modifier and Type | Method and Description |
---|---|
IResult |
ResultBuilder.build() |
protected abstract IResult |
AbstractRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
AbstractRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults)
Gets a future representing the result of the evaluation of this rule.
|
Modifier and Type | Method and Description |
---|---|
void |
ResultProvider.addResults(IResult result) |
static java.lang.String |
ResultToolkit.populateMessage(IResult result,
java.lang.String string,
boolean withHtml)
Populates the result message with result data.
|
Modifier and Type | Method and Description |
---|---|
private IResult |
CodeCacheRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
CodeCacheRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
private IResult |
HighJvmCpuRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
ManyRunningProcessesRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
CompareCpuRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
HighJvmCpuRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ManyRunningProcessesRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
private IResult |
LuceneVersionRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
ErrorRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
FatalErrorRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ExceptionRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
LuceneVersionRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ExceptionRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
DiscouragedGcOptionsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
BufferLostRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
DuplicateFlagsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
DumpReasonRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ProcessStartedRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInEnvironmentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ClassLeakingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInSystemPropertiesRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ClassLoadingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
FlightRecordingSupportRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
OptionsCheckRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
RecordingSettingsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DiscouragedVmOptionsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultValueProvider) |
java.util.concurrent.RunnableFuture<IResult> |
StackDepthSettingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DMSIncidentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInArgumentsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ManagementAgentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
FastTimeRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
VerifyNoneRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DebugNonSafepointsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
Modifier and Type | Method and Description |
---|---|
private IResult |
SocketReadRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
SocketWriteRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
FileReadRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider resultProvider) |
private IResult |
FileWriteRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
SocketReadRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
java.util.concurrent.RunnableFuture<IResult> |
FileReadRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
SocketWriteRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
java.util.concurrent.RunnableFuture<IResult> |
FileWriteRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.FutureTask<IResult> |
MethodProfilingRule.MethodProfilingCallable.evaluationTask |
Modifier and Type | Method and Description |
---|---|
IResult |
MethodProfilingRule.MethodProfilingCallable.call() |
private IResult |
ContextSwitchRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp) |
private IResult |
VMOperationRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
JavaBlockingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
BiasedLockingRevocationPauseRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
BiasedLockingRevocationRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
MethodProfilingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider,
java.util.concurrent.FutureTask<IResult> evaluationTask) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
JavaBlockingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
VMOperationRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
java.util.concurrent.RunnableFuture<IResult> |
BiasedLockingRevocationPauseRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
MethodProfilingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ContextSwitchRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
BiasedLockingRevocationRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
private SlidingWindowToolkit.IUnorderedWindowVisitor |
MethodProfilingRule.createWindowVisitor(MethodProfilingRule.PeriodRangeMap settings,
IItemFilter settingsFilter,
IQuantity windowSize,
java.util.List<MethodProfilingRule.MethodProfilingWindowResult> rawScores,
java.util.concurrent.FutureTask<IResult> evaluationTask,
java.util.regex.Pattern excludes)
Creates an IUnorderedWindowVisitor that is called on each slice in the recording and
generates the scores for each slice and places them in the rawScores list.
|
private IResult |
MethodProfilingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider,
java.util.concurrent.FutureTask<IResult> evaluationTask) |
(package private) void |
MethodProfilingRule.MethodProfilingCallable.setTask(java.util.concurrent.FutureTask<IResult> task) |
Modifier and Type | Method and Description |
---|---|
private IResult |
StringDeduplicationRule.getAllocationRatioResult(IItemCollection items,
java.lang.String stringInternalArrayType,
IItemFilter stringInternalArrayTypeFilter,
IQuantity stringAllocationRatioLimit,
java.lang.String allocationFramesString,
java.lang.String heapInfo,
IQuantity heapUsedRatio,
java.lang.String extraGcInfo,
IPreferenceValueProvider vp) |
private IResult |
HeapInspectionRule.getHeapInspectionResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
StringDeduplicationRule.getLiveSetRatioResult(IItemCollection items,
java.lang.String stringInternalArrayType,
IItemFilter stringInternalArrayTypeFilter,
IQuantity averageStringSize,
IQuantity stringLivesetRatioAndHeapUsageLimit,
java.lang.String objectCountEventType,
java.lang.String heapInfo,
IQuantity heapUsedRatio,
java.lang.String extraGcInfo,
IPreferenceValueProvider vp) |
private IResult |
TlabAllocationRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
HighGcRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
LowOnPhysicalMemoryRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
IncreasingMetaspaceLiveSetRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
LongGcPauseRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
MetaspaceOomRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
GcPauseRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
AllocationByThreadRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
GcFreedRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
ApplicationHaltsRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
AutoBoxingRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
CompressedOopsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
HeapDumpRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
StringDeduplicationRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
GcLockerRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
AllocationByClassRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
HeapContentRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
IncreasingLiveSetRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
SystemGcRule.getSystemGcResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
TlabAllocationRatioRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HighGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
LowOnPhysicalMemoryRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IncreasingMetaspaceLiveSetRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
LongGcPauseRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
MetaspaceOomRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
AllocationByThreadRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GcStallRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
CompressedOopsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapDumpRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GcLockerRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
AllocationByClassRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapInspectionRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
SystemGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GarbageCollectionInfoRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
FullGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapContentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IncreasingLiveSetRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.Collection<IResult>> |
JfrHtmlRulesReport.SimpleResultProvider.resultsByTopic |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IResult> |
JfrHtmlRulesReport.SimpleResultProvider.getResults(java.util.Collection<java.lang.String> topics) |
Constructor and Description |
---|
SimpleResultProvider(java.util.Collection<IResult> results,
java.util.List<HtmlResultGroup> groups) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<IResult> |
RulesHtmlToolkit.RESULT_RULEID_COMPARATOR |
private static java.util.Comparator<IResult> |
RulesHtmlToolkit.RESULT_SCORE_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IResult> |
HtmlResultProvider.getResults(java.util.Collection<java.lang.String> topics) |
private static java.util.List<IResult> |
RulesHtmlToolkit.sortResults(java.util.Collection<IResult> results) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
RulesHtmlToolkit.createRuleHtml(IResult result,
boolean expanded,
int margin) |
private static java.lang.String |
RulesHtmlToolkit.createRuleHtml(java.lang.String id,
java.lang.String title,
java.lang.String description,
java.lang.Boolean expanded,
int margin,
java.lang.String uuid,
IResult result)
Creates an html representation of a result for use in the result report ui.
|
static java.lang.String |
RulesHtmlToolkit.getDescription(IResult result) |
private static java.lang.String |
RulesHtmlToolkit.getType(IResult result)
Gets the CSS type for the overview template.
|
private static java.lang.Boolean |
RulesHtmlToolkit.isExpanded(java.util.HashMap<java.lang.String,java.lang.Boolean> resultExpandedStates,
IResult result) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
RulesHtmlToolkit.generateSinglePageHtml(java.util.Collection<IResult> results) |
private static void |
RulesHtmlToolkit.generateTitleAndResults(java.lang.String subHeading,
java.lang.String uuid,
java.util.Collection<IResult> results,
java.util.HashMap<java.lang.String,java.lang.Boolean> resultExpandedStates,
java.lang.StringBuilder div) |
private static java.util.List<IResult> |
RulesHtmlToolkit.sortResults(java.util.Collection<IResult> results) |
Modifier and Type | Field and Description |
---|---|
private java.util.Queue<java.util.concurrent.RunnableFuture<IResult>> |
RulesToolkit.RuleEvaluator.futureQueue |
Modifier and Type | Method and Description |
---|---|
static IResult |
RulesToolkit.getMissingAttributeResult(IRule rule,
IType<IItem> type,
IAttribute<?> attribute,
IPreferenceValueProvider vp)
Gets a
IResult object representing a not applicable result due to a missing
attribute. |
static IResult |
RulesToolkit.getNotApplicableResult(IRule rule,
IPreferenceValueProvider vp,
java.lang.String message)
Creates a
IResult object with a generic not applicable (N/A) result for a given rule
with a specified message. |
private static IResult |
RulesToolkit.getNotApplicableResult(IRule rule,
IPreferenceValueProvider vp,
java.lang.String shortMessage,
java.lang.String longMessage)
Creates a
IResult object with a generic not applicable (N/A) result for a given rule
with a specified message. |
static IResult |
RulesToolkit.getTooFewEventsResult(IRule rule,
IPreferenceValueProvider vp)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<IRule,java.util.concurrent.Future<IResult>> |
RulesToolkit.evaluateParallel(java.util.Collection<IRule> rules,
IItemCollection items,
IPreferenceValueProvider preferences,
int nThreads)
Evaluates a collection of rules in parallel threads.
|
Modifier and Type | Method and Description |
---|---|
static Pair<IQuantity,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction,
boolean max,
boolean includeIntersecting)
Calculates max/min window quantity value of items.
|
static <V> Pair<V,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
java.util.Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
static Pair<IQuantity,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction,
boolean max,
boolean includeIntersecting)
Calculates max/min window quantity value of items.
|
static <V> Pair<V,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
java.util.Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
Constructor and Description |
---|
RuleEvaluator(java.util.Queue<java.util.concurrent.RunnableFuture<IResult>> futureQueue) |