Package | Description |
---|---|
org.openjdk.jmc.common.item |
This package contains the
IItem data model. |
org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders | |
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Interface and Description |
---|---|
interface |
IAttribute<V>
An attribute is a named and typed kind of (read only) value.
|
interface |
ICanonicalAccessorFactory<V> |
Modifier and Type | Class and Description |
---|---|
class |
Attribute<T> |
(package private) class |
CanonicalAccessorFactory<V> |
Modifier and Type | Field and Description |
---|---|
private IAccessorFactory<T> |
CachingAccessor.attribute |
private IAccessorFactory<T> |
Aggregators.SetAggregator.attribute |
private IAccessorFactory<M> |
ItemFilters.MemberOf.attribute |
private IAccessorFactory<K> |
GroupingAggregator.GroupingAggregatorImpl.keyField |
Modifier and Type | Method and Description |
---|---|
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String name,
java.lang.String description,
KindOfQuantity<?> ct,
IAccessorFactory<IQuantity> af) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(java.lang.String name,
java.lang.String description,
IAccessorFactory<K> keyField,
IAggregator<?,C> a,
GroupingAggregator.IGroupsFinisher<V,K,C> finisher) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(java.lang.String name,
java.lang.String description,
IAccessorFactory<K> keyField,
IAggregator<IQuantity,C> a,
GroupingAggregator.IQuantityListFinisher<V> groupFinisher) |
static <K,C extends IItemConsumer<C>> |
GroupingAggregator.build(java.lang.String name,
java.lang.String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
java.util.function.Predicate<IType<IItem>> acceptType) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(java.lang.String name,
java.lang.String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
java.util.function.Predicate<IType<IItem>> acceptType,
GroupingAggregator.IGroupsFinisher<V,K,C> finisher) |
static <V,C extends IItemConsumer<C>> |
GroupingAggregator.buildMax(java.lang.String name,
java.lang.String description,
IAccessorFactory<?> keyField,
IAggregator<IQuantity,C> aggregate) |
static <T> IAggregator<IQuantity,?> |
Aggregators.countDistinct(java.lang.String name,
java.lang.String description,
IAccessorFactory<T> attribute) |
static <T> IAggregator<java.util.Set<T>,?> |
Aggregators.distinct(java.lang.String name,
IAccessorFactory<T> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(java.lang.String name,
java.lang.String description,
LinearKindOfQuantity ct,
IAccessorFactory<IQuantity> af) |
Constructor and Description |
---|
CachingAccessor(IAccessorFactory<T> attribute) |
GroupingAggregatorImpl(java.lang.String name,
java.lang.String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<G> consumerFactory,
java.util.function.Predicate<IType<IItem>> acceptType,
GroupingAggregator.IGroupsFinisher<V,K,G> groupsFinisher) |
MemberOf(IItemFilter[] filters,
IAccessorFactory<M> attribute,
java.util.Set<M> values) |
SetAggregator(java.lang.String name,
java.lang.String description,
IAccessorFactory<T> attribute,
IType<? super V> type) |
Modifier and Type | Field and Description |
---|---|
static IAccessorFactory<IMCStackTrace> |
MethodProfilingDataProvider.PATH_ACCESSOR_FACTORY |
static IAccessorFactory<IMCMethod> |
MethodProfilingDataProvider.TOP_FRAME_ACCESSOR_FACTORY
A custom accessor used to get the top frame in a stack trace.
|
Modifier and Type | Field and Description |
---|---|
private static IAccessorFactory<java.lang.String> |
RulesToolkit.TYPE_NAME_ACCESSOR_FACTORY |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<MapToolkit.IntEntry<T>> |
RulesToolkit.calculateGroupingScore(IItemCollection items,
IAccessorFactory<T> accessorFactory)
Each group is represented by the number of elements that belong in that group, elements are
grouped by accessor value.
|
private static <T> T |
RulesToolkit.getOptionalValue(IItem item,
IAccessorFactory<T> attribute)
Returns the value, or null if no accessor is available.
|
static <T> T |
RulesToolkit.getValue(IItem item,
IAccessorFactory<T> attribute)
Gets the value of a certain attribute for a given item
|