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.internal | |
org.openjdk.jmc.flightrecorder.memleak | |
org.openjdk.jmc.flightrecorder.rules.tree | |
org.openjdk.jmc.flightrecorder.rules.tree.traversal | |
org.openjdk.jmc.flightrecorder.rules.util | |
org.openjdk.jmc.flightrecorder.stacktrace |
Modifier and Type | Method and Description |
---|---|
static <T extends IItem> |
ItemToolkit.getItemType(T item) |
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 Iterable<IItem> |
ItemToolkit.asIterable(IItemCollection items)
Deprecated.
|
protected abstract IMemberAccessor<? extends V,IItem> |
Aggregators.FieldAggregatorBase.doGetAccessor(IType<IItem> type) |
protected abstract IPredicate<IItem> |
ItemFilters.AttributeValue.getPredicate(IMemberAccessor<? extends M,IItem> accessor,
M value) |
protected IPredicate<IItem> |
ItemFilters.Matches.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String regexp) |
protected IPredicate<IItem> |
ItemFilters.NotMatches.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String regexp) |
protected IPredicate<IItem> |
ItemFilters.Contains.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String substring) |
protected IPredicate<IItem> |
ItemFilters.NotContains.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String substring) |
IPredicate<IItem> |
IItemFilter.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Not.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Composite.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Types.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Type.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.TypeMatches.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.AttributeValue.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.HasAttribute.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.NotHasAttribute.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.BooleanFilter.getPredicate(IType<IItem> type) |
IType<IItem> |
IItemIterable.getType() |
static <V extends Comparable<V>> |
Aggregators.itemWithMax(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.itemWithMin(IAttribute<V> attribute) |
Modifier and Type | Method and Description |
---|---|
void |
IItemConsumer.consume(IItem item)
Consumes another item.
|
void |
Aggregators.VarianceConsumer.consume(IItem item) |
void |
Aggregators.AvgConsumer.consume(IItem item) |
void |
Aggregators.MinMaxConsumer.consume(IItem item) |
void |
Aggregators.CountConsumer.consume(IItem item) |
void |
Aggregators.SetConsumer.consume(IItem item) |
void |
Aggregators.AdvancedMinMaxConsumer.consume(IItem newItem) |
Modifier and Type | Method and Description |
---|---|
boolean |
IItemConsumerFactory.acceptType(IType<IItem> type) |
boolean |
Aggregators.FieldAggregatorBase.acceptType(IType<IItem> type) |
IItemIterable |
IItemIterable.apply(IPredicate<IItem> predicate)
Creates a new item iterable with all items in this iterable that pass through the filter.
|
static <K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
IPredicate<IType<IItem>> acceptType) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IItemConsumerFactory<C> groupAggregator,
IPredicate<IType<IItem>> acceptType,
GroupingAggregator.IGroupsFinisher<V,K,C> finisher) |
static IItemFilter |
ItemFilters.convertToTypes(IItemFilter filter,
List<IType<IItem>> types) |
protected abstract IMemberAccessor<? extends V,IItem> |
Aggregators.FieldAggregatorBase.doGetAccessor(IType<IItem> type) |
static <C extends IItemConsumer<C>> |
Aggregators.forConsumer(IItemConsumerFactory<C> consumerFactory,
IPredicate<IType<IItem>> acceptType) |
protected abstract IPredicate<IItem> |
ItemFilters.AttributeValue.getPredicate(IMemberAccessor<? extends M,IItem> accessor,
M value) |
protected IPredicate<IItem> |
ItemFilters.Matches.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String regexp) |
protected IPredicate<IItem> |
ItemFilters.NotMatches.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String regexp) |
protected IPredicate<IItem> |
ItemFilters.Contains.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String substring) |
protected IPredicate<IItem> |
ItemFilters.NotContains.getPredicate(IMemberAccessor<? extends String,IItem> accessor,
String substring) |
IPredicate<IItem> |
IItemFilter.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Not.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Composite.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Types.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.Type.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.TypeMatches.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.AttributeValue.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.HasAttribute.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.NotHasAttribute.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
ItemFilters.BooleanFilter.getPredicate(IType<IItem> type) |
C |
IItemConsumerFactory.newItemConsumer(IType<IItem> itemType) |
org.openjdk.jmc.common.item.Aggregators.SumConsumer |
Aggregators.Sum.newItemConsumer(IType<IItem> type) |
Aggregators.VarianceConsumer |
Aggregators.Variance.newItemConsumer(IType<IItem> type) |
Aggregators.VarianceConsumer |
Aggregators.Stddev.newItemConsumer(IType<IItem> type) |
Aggregators.AvgConsumer |
Aggregators.Avg.newItemConsumer(IType<IItem> type) |
Aggregators.MinMaxConsumer<V> |
Aggregators.MinMax.newItemConsumer(IType<IItem> type) |
Constructor and Description |
---|
AdvancedMinMaxConsumer(IMemberAccessor<? extends V,IItem> valueAccessor,
IMemberAccessor<T,IItem> comparatorAccessor,
boolean max) |
AdvancedMinMaxConsumer(IMemberAccessor<? extends V,IItem> valueAccessor,
IMemberAccessor<T,IItem> comparatorAccessor,
boolean max) |
AvgConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
MinMaxConsumer(IMemberAccessor<? extends V,IItem> accessor,
boolean max) |
SetConsumer(IMemberAccessor<? extends T,IItem> accessor) |
VarianceConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
Modifier and Type | Interface and Description |
---|---|
interface |
IQuantity |
interface |
ITypedQuantity<U extends TypedUnit<U>>
Type parameterized extension of
IQuantity . |
Modifier and Type | Method and Description |
---|---|
void |
RecordingPrinter.printEvent(IItem e) |
Modifier and Type | Method and Description |
---|---|
IItem[] |
EventArray.getEvents() |
Modifier and Type | Method and Description |
---|---|
IType<IItem> |
EventArray.getType() |
Constructor and Description |
---|
EventArray(IItem[] events,
IType<IItem> type,
String[] typeCategory) |
Constructor and Description |
---|
EventArray(IItem[] events,
IType<IItem> type,
String[] typeCategory) |
Modifier and Type | Method and Description |
---|---|
Set<IItem> |
ReferenceTreeObject.getItems()
This method is used when it is necessary to get information about all objects this object
keeps alive in the
ReferenceTreeModel . |
Modifier and Type | Method and Description |
---|---|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread,
ItemTreeBuilder.IItemTreeBuilderCallback callback)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
IPredicate<IItem> |
TimeRangeThreadFilter.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
TimeRangeFilter.getPredicate(IType<IItem> type) |
Modifier and Type | Method and Description |
---|---|
static void |
ItemTreeToolkit.appendLayeredBreakdown(StringBuilder report,
ITreeNode<IItem> root,
int maxDepth)
Reports all encapsulation layers.
|
static void |
ItemTreeToolkit.appendLongestBreakdown(StringBuilder report,
ITreeNode<IItem> root)
Renders a report of the longest encapsulating event chain.
|
IPredicate<IItem> |
TimeRangeThreadFilter.getPredicate(IType<IItem> type) |
IPredicate<IItem> |
TimeRangeFilter.getPredicate(IType<IItem> type) |
static String |
ItemTreeToolkit.printTree(ITreeNode<IItem> node) |
Modifier and Type | Method and Description |
---|---|
IItem |
LongestDurationIterator.next() |
Modifier and Type | Method and Description |
---|---|
ITreeNode<IItem> |
LayerBreakdownGenerator.getStartNode() |
Modifier and Type | Method and Description |
---|---|
void |
LayerBreakdownVisitor.LayerBreakdown.add(IItem value) |
protected void |
LayerBreakdownVisitor.processPayload(IItem value,
int level) |
protected void |
LayerBreakdownGenerator.processPayload(IItem value,
int level) |
Constructor and Description |
---|
LayerBreakdownGenerator(ITreeNode<IItem> startNode) |
LongestDurationIterator(ITreeNode<IItem> node) |
Modifier and Type | Method and Description |
---|---|
static IType<IItem> |
RulesToolkit.getType(IItemCollection items,
String typeId)
Gets the
IType representation of a specific event type in an IItemCollection . |
Modifier and Type | Method and Description |
---|---|
static IItemFilter |
RulesToolkit.createRangeFilter(IItem item)
Creates a range filter for an event.
|
static IQuantity |
RulesToolkit.getDuration(IItem item)
Convenience method to get the duration value from a specific event.
|
static IQuantity |
RulesToolkit.getDurationInWindow(IQuantity windowStart,
IQuantity windowEnd,
IItem item)
Get the duration for item within the specified window
|
static IQuantity |
RulesToolkit.getEndTime(IItem item)
Convenience method to get the end time value from a specific event.
|
static IQuantity |
RulesToolkit.getStartTime(IItem item)
Convenience method for getting the start time value from a specific event.
|
static IMCThread |
RulesToolkit.getThread(IItem item)
Convenience method to get the event thread value from a specific event.
|
static <T> T |
RulesToolkit.getValue(IItem item,
IAccessorFactory<T> attribute)
Gets the value of a certain attribute for a given item
|
Modifier and Type | Method and Description |
---|---|
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. |
static double |
RulesToolkit.leastSquareMemory(Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static double |
RulesToolkit.leastSquareMemory(Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static double |
RulesToolkit.leastSquareMemory(Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static void |
SlidingWindowToolkit.slidingWindowOrdered(SlidingWindowToolkit.IOrderedWindowVisitor callback,
Iterator<IItem> items,
IMemberAccessor<IQuantity,IItem> posAccessor,
IQuantity windowSize,
IQuantity slideSize)
Runs a sliding window through all items, looping through items once, removing from the start
and adding and the end of a windowItem set to match the current time window.
|
static void |
SlidingWindowToolkit.slidingWindowOrdered(SlidingWindowToolkit.IOrderedWindowVisitor callback,
Iterator<IItem> items,
IMemberAccessor<IQuantity,IItem> posAccessor,
IQuantity windowSize,
IQuantity slideSize)
Runs a sliding window through all items, looping through items once, removing from the start
and adding and the end of a windowItem set to match the current time window.
|
void |
SlidingWindowToolkit.IOrderedWindowVisitor.visitWindow(Iterator<IItem> items) |
Modifier and Type | Method and Description |
---|---|
SimpleArray<IItem> |
StacktraceFrame.getItems() |
Copyright © 2020. All rights reserved.