Package | Description |
---|---|
org.openjdk.jmc.common.item |
This package contains the
IItem data model. |
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
org.openjdk.jmc.flightrecorder | |
org.openjdk.jmc.flightrecorder.jdk | |
org.openjdk.jmc.flightrecorder.parser |
Parser extensions are a way to modify events read from a Flight Recording.
|
org.openjdk.jmc.flightrecorder.rules.jdk.combine | |
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Class and Description |
---|---|
class |
Attribute<T> |
Modifier and Type | Method and Description |
---|---|
static <T> IAttribute<T> |
Attribute.attr(String identifier,
String name,
ContentType<T> contentType)
Obtain an attribute.
|
static <T> IAttribute<T> |
Attribute.attr(String identifier,
String name,
String description,
ContentType<T> contentType)
Obtain an attribute.
|
static <T> IAttribute<T> |
Attribute.canonicalize(Attribute<T> key)
Set
key as the canonical (and only allowed) attribute for its equivalence class. |
IAttribute<?> |
IItemQuery.getGroupBy() |
Modifier and Type | Method and Description |
---|---|
List<IAttribute<?>> |
IType.getAttributes()
Deprecated.
|
Collection<IAttribute<?>> |
IItemQuery.getAttributes() |
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<T,IItem> |
ItemToolkit.accessor(IAttribute<T> a)
Deprecated.
This method returns a member accessor that is not thread safe. Instead of
creating an accessor that could be used for multiple item types, items should be
iterated by type, preferably using an
IAggregator which enables parallel
processing. |
static IAggregator<Boolean,?> |
Aggregators.and(String typeId,
IAttribute<Boolean> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String name,
String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static <T> IAggregator<Set<T>,?> |
Aggregators.distinct(IAttribute<T> attribute) |
static IAggregator<String,?> |
Aggregators.distinctAsString(IAttribute<String> attribute,
String delimiter) |
static IAggregator<String,?> |
Aggregators.distinctAsString(IAttribute<String> attribute,
String delimiter,
String name,
String description) |
static IAggregator<String,?> |
Aggregators.distinctAsString(String typeId,
IAttribute<String> attribute) |
static <T> T |
ItemToolkit.getFirstFound(IItemCollection items,
IAttribute<T> attribute)
Returns the value of the event first encountered with the attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(String name,
IAttribute<IQuantity> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.groupBy(IAttribute<?> attribute) |
static <V extends Comparable<V>> |
Aggregators.itemWithMax(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.itemWithMin(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(IAttribute<V> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.max(String typeId,
IAttribute<IQuantity> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(String name,
String description,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(String name,
String description,
String typeId,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(String typeId,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(String name,
String description,
String typeId,
IAttribute<V> attribute) |
static IAggregator<Boolean,?> |
Aggregators.or(String typeId,
IAttribute<Boolean> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?>... attributes) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddev(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddevp(IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddevp(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.sum(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String name,
String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.variance(IAttribute<IQuantity> attribute)
Calculates the sample variance for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.variancep(IAttribute<IQuantity> attribute)
Calculates the population variance for a linear quantity attribute.
|
Constructor and Description |
---|
AdvancedMaxAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMaxAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
Modifier and Type | Field and Description |
---|---|
static IAttribute<Number> |
UnitLookup.NUMERICAL_ATTRIBUTE |
static IAttribute<IUnit> |
UnitLookup.UNIT_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
List<IAttribute<?>> |
KindOfQuantity.getAttributes() |
List<IAttribute<?>> |
ContentType.getAttributes() |
List<IAttribute<?>> |
StructContentType.getAttributes() |
Modifier and Type | Method and Description |
---|---|
<M> void |
StructContentType.addExtraAttribute(int atIndex,
IAttribute<M> attribute)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static IAttribute<IQuantity> |
JfrAttributes.CENTER_TIME |
static IAttribute<IQuantity> |
JfrAttributes.DURATION |
static IAttribute<IQuantity> |
JfrAttributes.END_TIME |
static IAttribute<IMCStackTrace> |
JfrAttributes.EVENT_STACKTRACE |
static IAttribute<IMCThread> |
JfrAttributes.EVENT_THREAD |
static IAttribute<IQuantity> |
JfrAttributes.EVENT_TIMESTAMP |
static IAttribute<IType<?>> |
JfrAttributes.EVENT_TYPE |
static IAttribute<String> |
JfrAttributes.EVENT_TYPE_ID |
static IAttribute<IQuantity> |
JfrAttributes.FLR_DATA_LOST |
static IAttribute<IRange<IQuantity>> |
JfrAttributes.LIFETIME |
static IAttribute<IQuantity> |
JfrAttributes.START_TIME |
Modifier and Type | Method and Description |
---|---|
static <V> IAggregator<V,?> |
JdkAggregators.first(IAttribute<V> attribute)
Aggregator for getting the first value, ie.
|
static <V> IAggregator<V,?> |
JdkAggregators.last(IAttribute<V> attribute)
Aggregator for getting the last value, ie.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ValueField.matches(IAttribute<?> a)
Check if a value field matches an attribute.
|
Constructor and Description |
---|
ValueField(IAttribute<?> attribute)
Create a value field matching an
IAttribute . |
Modifier and Type | Method and Description |
---|---|
static SpanSquare |
SpanToolkit.getMaxCountCluster(IItemCollection items,
IAttribute<IQuantity> countAttribute,
IAttribute<IQuantity> timestampAttribute)
Calculates the largest count cluster.
|
static SpanSquare |
SpanToolkit.getMaxCountCluster(IItemCollection items,
IAttribute<IQuantity> countAttribute,
IAttribute<IQuantity> timestampAttribute)
Calculates the largest count cluster.
|
static SpanLimit |
SpanToolkit.getMaxSpanLimit(IItemCollection items,
IAttribute<IQuantity> valueAttribute,
IAttribute<IQuantity> endTimeAttribute,
double limit)
Calculates the longest span where the combined value still is above the limit.
|
static SpanLimit |
SpanToolkit.getMaxSpanLimit(IItemCollection items,
IAttribute<IQuantity> valueAttribute,
IAttribute<IQuantity> endTimeAttribute,
double limit)
Calculates the longest span where the combined value still is above the limit.
|
Modifier and Type | Method and Description |
---|---|
static String |
RulesToolkit.findMatches(String typeId,
IItemCollection items,
IAttribute<String> attribute,
String match,
boolean ignoreCase)
Finds items of a specific type where the given attribute has a value matching that of the
provided match string.
|
static Result |
RulesToolkit.getMissingAttributeResult(IRule rule,
IType<IItem> type,
IAttribute<?> attribute)
Gets a
Result object representing a not applicable result due to a missing attribute. |
Copyright © 2020. All rights reserved.