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.parser.synthetic | |
org.openjdk.jmc.flightrecorder.rules.jdk.combine | |
org.openjdk.jmc.flightrecorder.rules.jdk.general | |
org.openjdk.jmc.flightrecorder.rules.jdk.latency | |
org.openjdk.jmc.flightrecorder.rules.jdk.util |
This package contains helper classes that will be moved in a later release.
|
org.openjdk.jmc.flightrecorder.rules.util | |
org.openjdk.jmc.flightrecorder.stacktrace.graph | |
org.openjdk.jmc.flightrecorder.stacktrace.tree |
Modifier and Type | Class and Description |
---|---|
class |
Attribute<T> |
Modifier and Type | Field and Description |
---|---|
private IAttribute<V> |
Aggregators.AdvancedMinMaxAggregator.attribute |
private IAttribute<T> |
Aggregators.AdvancedMinMaxAggregator.comparator |
private IAttribute<?> |
ItemQueryBuilder.ItemQuery.groupBy |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IAccessorKey<?>,IAttribute<?>> |
Attribute.CANONICAL_MAP |
private java.util.Collection<IAttribute<?>> |
ItemQueryBuilder.ItemQuery.fields |
Modifier and Type | Method and Description |
---|---|
static <T> IAttribute<T> |
Attribute.attr(java.lang.String identifier,
java.lang.String name,
ContentType<T> contentType)
Obtain an attribute.
|
static <T> IAttribute<T> |
Attribute.attr(java.lang.String identifier,
java.lang.String name,
java.lang.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. |
private static <T> IAttribute<T> |
Attribute.getCanonical(Attribute<T> key)
If the attribute
key has a canonical equivalent, get that. |
IAttribute<?> |
IItemQuery.getGroupBy() |
IAttribute<?> |
ItemQueryBuilder.ItemQuery.getGroupBy() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IAttribute<?>> |
IItemQuery.getAttributes() |
java.util.List<IAttribute<?>> |
IType.getAttributes()
Deprecated.
|
java.util.Collection<IAttribute<?>> |
ItemQueryBuilder.ItemQuery.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<java.lang.Boolean,?> |
Aggregators.and(java.lang.String typeId,
IAttribute<java.lang.Boolean> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String name,
java.lang.String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
static <T> IAggregator<java.util.Set<T>,?> |
Aggregators.distinct(IAttribute<T> attribute) |
static IAggregator<java.lang.String,?> |
Aggregators.distinctAsString(IAttribute<java.lang.String> attribute,
java.lang.String delimiter) |
static IAggregator<java.lang.String,?> |
Aggregators.distinctAsString(IAttribute<java.lang.String> attribute,
java.lang.String delimiter,
java.lang.String name,
java.lang.String description) |
static IAggregator<java.lang.String,?> |
Aggregators.distinctAsString(java.lang.String typeId,
IAttribute<java.lang.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(java.lang.String name,
IAttribute<IQuantity> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.groupBy(IAttribute<?> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.itemWithMax(IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.itemWithMin(IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.max(IAttribute<V> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.max(java.lang.String typeId,
IAttribute<IQuantity> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.max(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.max(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.min(IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.min(java.lang.String typeId,
IAttribute<V> attribute) |
static <V extends java.lang.Comparable<V>> |
Aggregators.min(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<V> attribute) |
private static <V extends java.lang.Comparable<V>> |
Aggregators.minMaxItem(java.lang.String name,
IAttribute<V> attribute,
boolean max) |
static IAggregator<java.lang.Boolean,?> |
Aggregators.or(java.lang.String typeId,
IAttribute<java.lang.Boolean> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?>... attributes) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?> attribute) |
static <V> java.util.stream.Stream<? extends IItem> |
ItemIterableToolkit.sorted(IItemIterable items,
IAttribute<V> onAttribute,
java.util.Comparator<? super V> valueComparator) |
static IAggregator<IQuantity,?> |
Aggregators.stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddev(java.lang.String name,
java.lang.String description,
IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
private static IAggregator<IQuantity,?> |
Aggregators.stddevInternal(IAttribute<IQuantity> attribute,
boolean besselCorrection) |
private static IAggregator<IQuantity,?> |
Aggregators.stddevInternal(java.lang.String name,
java.lang.String description,
IAttribute<IQuantity> attribute,
boolean besselCorrection) |
static IAggregator<IQuantity,?> |
Aggregators.stddevp(IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddevp(java.lang.String name,
java.lang.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(java.lang.String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(java.lang.String name,
java.lang.String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
default <T> java.util.function.Supplier<java.util.stream.Stream<T>> |
IItemCollection.values(IAttribute<T> attribute)
Returns the values for the supplied attribute from this IItemCollection.
|
static IAggregator<IQuantity,?> |
Aggregators.variance(IAttribute<IQuantity> attribute)
Calculates the sample variance for a linear quantity attribute.
|
private static IAggregator<IQuantity,?> |
Aggregators.varianceInternal(IAttribute<IQuantity> attribute,
boolean besselCorrection) |
static IAggregator<IQuantity,?> |
Aggregators.variancep(IAttribute<IQuantity> attribute)
Calculates the population variance for a linear quantity attribute.
|
Constructor and Description |
---|
AdvancedMaxAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMaxAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinMaxAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator,
boolean max) |
AdvancedMinMaxAggregator(java.lang.String name,
java.lang.String description,
IAttribute<V> attribute,
IAttribute<T> comparator,
boolean max) |
Modifier and Type | Field and Description |
---|---|
static IAttribute<java.lang.Number> |
UnitLookup.NUMERICAL_ATTRIBUTE |
static IAttribute<IUnit> |
UnitLookup.UNIT_ATTRIBUTE |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IAttribute<?>> |
StructContentType.m_attributes |
Modifier and Type | Method and Description |
---|---|
java.util.List<IAttribute<?>> |
ContentType.getAttributes() |
java.util.List<IAttribute<?>> |
KindOfQuantity.getAttributes() |
java.util.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<java.lang.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 |
---|---|
private static Attribute<IQuantity> |
JdkAttributes.createCodeHeapAttribute(IAttribute<IQuantity> attribute,
java.lang.String codeHeap,
java.lang.String identifier,
java.lang.String name,
java.lang.String description,
ContentType<IQuantity> contentType)
Workaround for badly constructed JDK 9 segmented code cache events.
|
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 | Field and Description |
---|---|
private static IAttribute<IMCThread> |
SyntheticAttributeExtension.ALLOC_STATISTICS_THREAD |
private static IAttribute<IMCStackTrace> |
SyntheticAttributeExtension.EXECUTION_SAMPLES_STACKTRACE |
private static IAttribute<IMCThread> |
SyntheticAttributeExtension.EXECUTION_SAMPLES_THREAD |
(package private) static IAttribute<LabeledIdentifier> |
SyntheticAttributeExtension.REC_SETTING_EVENT_ID_ATTRIBUTE |
private static IAttribute<java.lang.Boolean> |
SettingsTransformer.REC_SETTINGS_ATTR_ENABLED |
(package private) static IAttribute<IQuantity> |
SettingsTransformer.REC_SETTINGS_ATTR_PERIOD |
private static IAttribute<java.lang.Boolean> |
SettingsTransformer.REC_SETTINGS_ATTR_STACKTRACE |
(package private) static IAttribute<IQuantity> |
SettingsTransformer.REC_SETTINGS_ATTR_THRESHOLD |
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 |
---|---|
private static IItemFilter |
ClassLeakingRule.createClassAttributeFilter(IAttribute<IMCType> attribute,
java.util.Map<java.lang.String,ClassEntry> entries) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<IMCType,ClassEntry> |
BiasedLockingRevocationRule.extractRevocations(IItemCollection revokationEvents,
IItemFilter filter,
IAttribute<IMCType> classAttribute) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IAttribute<?>> |
DefaultIItemResultSet.attributes |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
DefaultIItemResultSet.getFirstNonNull(IItemCollection items,
IAttribute<?> attribute)
Returns the first encountered non-null attribute value, or null if no non-null value could be
found.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
RulesToolkit.findMatches(java.lang.String typeId,
IItemCollection items,
IAttribute<java.lang.String> attribute,
java.lang.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 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. |
Modifier and Type | Field and Description |
---|---|
private IAttribute<IQuantity> |
StacktraceGraphModel.attribute |
Modifier and Type | Method and Description |
---|---|
IAttribute<IQuantity> |
StacktraceGraphModel.getAttribute() |
Modifier and Type | Method and Description |
---|---|
private static <T> IMemberAccessor<T,IItem> |
StacktraceGraphModel.getAccessor(IItemIterable iterable,
IAttribute<T> attr) |
Constructor and Description |
---|
StacktraceGraphModel(FrameSeparator frameSeparator,
IItemCollection items,
IAttribute<IQuantity> attribute)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private IAttribute<IQuantity> |
StacktraceTreeModel.attribute |
Modifier and Type | Method and Description |
---|---|
private static <T> IMemberAccessor<T,IItem> |
StacktraceTreeModel.getAccessor(IItemIterable iterable,
IAttribute<T> attr) |
Constructor and Description |
---|
StacktraceTreeModel(IItemCollection items,
FrameSeparator frameSeparator,
boolean invertedStacks,
IAttribute<IQuantity> attribute)
Builds a StacktraceTreeModel from a given collection of events.
|