Modifier and Type | Method and Description |
---|---|
IQuantity |
IMCOldObject.getAddress()
The address of the object, used for identity purposes.
|
Modifier and Type | Field and Description |
---|---|
(package private) IMemberAccessor<? extends IQuantity,IItem> |
Aggregators.QuantityConsumer.accessor |
private java.util.Set<IRange<IQuantity>> |
ItemCollectionToolkit.StreamBackedItemCollection.chunkRanges |
Modifier and Type | Method and Description |
---|---|
IQuantity |
Aggregators.Avg.getValue(Aggregators.AvgConsumer consumer) |
IQuantity |
Aggregators.Count.getValue(Aggregators.CountConsumer consumer) |
IQuantity |
Aggregators.Sum.getValue(Aggregators.SumConsumer consumer) |
IQuantity |
Aggregators.Variance.getValue(Aggregators.VarianceConsumer consumer) |
IQuantity |
Aggregators.Stddev.getValue(Aggregators.VarianceConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
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,
KindOfQuantity<?> ct,
IAccessorFactory<IQuantity> af) |
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
static <V,C extends IItemConsumer<C>> |
GroupingAggregator.buildMax(java.lang.String name,
java.lang.String description,
IAccessorFactory<?> keyField,
IAggregator<IQuantity,C> aggregate) |
static IAggregator<IQuantity,Aggregators.CountConsumer> |
Aggregators.count() |
static IAggregator<IQuantity,?> |
Aggregators.count(IItemFilter filter) |
static IAggregator<IQuantity,?> |
Aggregators.count(IType<?> type) |
static IAggregator<IQuantity,Aggregators.CountConsumer> |
Aggregators.count(java.lang.String name,
java.lang.String description) |
static IAggregator<IQuantity,?> |
Aggregators.count(java.lang.String name,
java.lang.String description,
IItemFilter filter) |
static <T> IAggregator<IQuantity,?> |
Aggregators.countDistinct(java.lang.String name,
java.lang.String description,
IAccessorFactory<T> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(java.lang.String name) |
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(java.lang.String name,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(java.lang.String name,
IType<?> type) |
java.util.Set<IRange<IQuantity>> |
ItemCollectionToolkit.StreamBackedItemCollection.getUnfilteredTimeRanges() |
java.util.Set<IRange<IQuantity>> |
IItemCollection.getUnfilteredTimeRanges()
Deprecated.
see https://bugs.openjdk.java.net/browse/JMC-7103.
|
static IAggregator<IQuantity,?> |
Aggregators.max(java.lang.String typeId,
IAttribute<IQuantity> attribute) |
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,
LinearKindOfQuantity ct,
IAccessorFactory<IQuantity> af) |
static IAggregator<IQuantity,?> |
Aggregators.sum(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
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.
|
Modifier and Type | Method and Description |
---|---|
V |
GroupingAggregator.IQuantityListFinisher.getValue(java.util.List<IQuantity> values,
IQuantity total) |
Modifier and Type | Method and Description |
---|---|
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,
KindOfQuantity<?> ct,
IAccessorFactory<IQuantity> af) |
static IAggregator<IQuantity,?> |
Aggregators.avg(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
(package private) static IItemCollection |
ItemCollectionToolkit.build(java.util.stream.Stream<? extends IItem> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
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 IItemCollection |
ItemCollectionToolkit.build(java.util.function.Supplier<java.util.stream.Stream<IItemIterable>> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
static <V,C extends IItemConsumer<C>> |
GroupingAggregator.buildMax(java.lang.String name,
java.lang.String description,
IAccessorFactory<?> keyField,
IAggregator<IQuantity,C> aggregate) |
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(java.lang.String name,
IAttribute<IQuantity> attribute) |
V |
GroupingAggregator.IQuantityListFinisher.getValue(java.util.List<IQuantity> values,
IQuantity total) |
static IAggregator<IQuantity,?> |
Aggregators.max(java.lang.String typeId,
IAttribute<IQuantity> attribute) |
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,
LinearKindOfQuantity ct,
IAccessorFactory<IQuantity> af) |
static IAggregator<IQuantity,?> |
Aggregators.sum(java.lang.String name,
java.lang.String description,
java.lang.String typeId,
IAttribute<IQuantity> attribute) |
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 |
---|
Avg(java.lang.String name,
java.lang.String description,
ContentType<IQuantity> ct) |
AvgConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
QuantityConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
StreamBackedItemCollection(java.util.function.Supplier<java.util.stream.Stream<IItemIterable>> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
SumConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
VarianceConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
Modifier and Type | Interface and Description |
---|---|
interface |
ITypedQuantity<U extends TypedUnit<U>>
Type parameterized extension of
IQuantity . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ScalarQuantity<U extends TypedUnit<U>>
A scalar physical quantity value, conceptually a (real) number with a unit.
|
static class |
ScalarQuantity.DoubleStored<U extends TypedUnit<U>> |
static class |
ScalarQuantity.LongStored<U extends TypedUnit<U>> |
Modifier and Type | Field and Description |
---|---|
protected IQuantity |
QuantityConversionException.Quantity.badQuantity |
protected IQuantity |
QuantityConversionException.Quantity.prototype |
Modifier and Type | Method and Description |
---|---|
static <Q extends IQuantity> |
QuantityConversionException.belowPrecision(Q badValue,
Q precisionLimit) |
static <Q extends IQuantity> |
QuantityConversionException.tooHigh(Q badValue,
Q max) |
static <Q extends IQuantity> |
QuantityConversionException.tooLow(Q badValue,
Q min) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
IQuantity.add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity and
addend , if
such an operation is defined for this kind of quantity. |
IQuantity |
ScalarQuantity.add(IQuantity addend) |
static IQuantity |
UnitLookup.fromDate(java.util.Date timestamp)
|
IQuantity |
QuantityRange.Point.getCenter() |
IQuantity |
QuantityRange.WithEnd.getCenter() |
IQuantity |
QuantityRange.WithExtent.getCenter() |
IQuantity |
QuantityRange.Point.getExtent() |
IQuantity |
IQuantity.in(IUnit targetUnit)
Get this quantity expressed in the unit
targetUnit . |
IQuantity |
ScalarQuantity.in(IUnit targetUnit) |
IQuantity |
IQuantity.multiply(double factor)
Returns a new quantity that is this quantity multiplied with
factor , if this is a
linear quantity. |
IQuantity |
IQuantity.multiply(long factor)
Returns a new quantity that is this quantity multiplied with
factor , if this is a
linear quantity. |
IQuantity |
IUnit.quantity(double numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IUnit.quantity(long numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IUnit.quantity(java.lang.Number numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IQuantity.subtract(IQuantity subtrahend)
Returns a new quantity that is the arithmetic difference of this quantity and
subtrahend , if such an operation is defined for this kind of quantity. |
IQuantity |
ScalarQuantity.subtract(IQuantity subtrahend) |
Modifier and Type | Method and Description |
---|---|
IConstraint<IQuantity> |
KindOfQuantity.combine(IConstraint<?> other) |
(package private) static RangeContentType<IQuantity> |
RangeContentType.create(KindOfQuantity<?> endPointType) |
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
<M> IMemberAccessor<M,IQuantity> |
KindOfQuantity.getAccessor(IAccessorKey<M> attribute) |
IRange<IQuantity> |
KindOfQuantity.getFirstBucket(IQuantity start,
IQuantity end,
double maxBuckets)
Divide the given range into at most
maxBuckets "naturally" aligned buckets, and
return the first one. |
protected IRange<IQuantity> |
KindOfQuantity.getFirstBucket(ITypedQuantity<U> start,
ITypedQuantity<U> end,
double maxBuckets) |
IFormatter<IQuantity> |
TimestampKind.getFormatterResolving(IRange<IQuantity> range) |
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
abstract IFormatter<IQuantity> |
KindOfQuantity.getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends of
range , and consecutive equally spaced quantities. |
IPersister<IQuantity> |
KindOfQuantity.getPersister() |
IFormatter<IRange<IQuantity>> |
KindOfQuantity.getRangeFormatter(java.lang.String formatHint)
Temporary helper to format quantity ranges.
|
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
IQuantity.add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity and
addend , if
such an operation is defined for this kind of quantity. |
IQuantity |
ScalarQuantity.add(IQuantity addend) |
int |
ScalarQuantity.compareTo(IQuantity other) |
int |
ScalarQuantity.LongStored.compareTo(IQuantity other) |
static IDisplayable |
QuantityRange.createInfinite(IQuantity start,
IQuantity end)
|
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
protected java.util.Date |
TimestampKind.LegacyFormatter.dateFor(IQuantity q) |
java.lang.String |
TimestampKind.LegacyFormatter.format(IQuantity q) |
java.lang.String |
TimestampKind.LegacyAndFractionFormatter.format(IQuantity q) |
java.lang.String |
TimestampKind.FractionFormatter.format(IQuantity q) |
java.lang.String |
LinearKindOfQuantity.AutoFormatter.format(IQuantity quantity) |
java.lang.String |
LinearKindOfQuantity.DualUnitFormatter.format(IQuantity quantity) |
java.lang.String |
KindOfQuantity.ExactFormatter.format(IQuantity quantity) |
java.lang.String |
KindOfQuantity.VerboseFormatter.format(IQuantity quantity) |
java.lang.String |
IIncrementalFormatter.formatAdjacent(IQuantity previous,
IQuantity current)
Return a string representation of
current that is minimalistic, yet includes
sufficient context so that a human can deduce its full value, given that a sufficient
representation of previous is presented immediately ahead. |
java.lang.String |
IIncrementalFormatter.formatContext(IQuantity firstPresented)
Return a string context that can be presented ahead of presenting
firstPresented so
that the latter can be presented with a minimalistic representation using
formatChange(firstPresented, firstPresented) . |
private static java.lang.String |
UnitLookup.formatHexNumber(IQuantity quantity) |
static java.lang.String |
LinearKindOfQuantity.AutoFormatter.formatInUnit(IQuantity quantity,
LinearUnit customUnit,
int nominalValueDigits) |
IRange<IQuantity> |
KindOfQuantity.getFirstBucket(IQuantity start,
IQuantity end,
double maxBuckets)
Divide the given range into at most
maxBuckets "naturally" aligned buckets, and
return the first one. |
TimestampUnit |
TimestampKind.getLargestExactUnit(IQuantity value) |
LinearUnit |
LinearKindOfQuantity.getLargestExactUnit(IQuantity quantity) |
abstract U |
KindOfQuantity.getLargestExactUnit(IQuantity quantity)
Get the largest unit, if any, in which this quantity can be expressed exactly, typically with
an integer.
|
TimestampUnit |
TimestampKind.getPreferredUnit(IQuantity value,
double minNumericalValue,
double maxNumericalValue) |
LinearUnit |
LinearKindOfQuantity.getPreferredUnit(IQuantity quantity,
double minNumericalValue,
double maxNumericalValue) |
abstract U |
KindOfQuantity.getPreferredUnit(IQuantity quantity,
double minNumericalValue,
double maxNumericalValue) |
java.lang.String |
KindOfQuantity.interactiveFormat(IQuantity value) |
static QuantityConversionException |
QuantityConversionException.noUnit(java.lang.String badString,
IQuantity prototype) |
java.lang.String |
KindOfQuantity.persistableString(IQuantity value) |
double |
IQuantity.ratioTo(IQuantity consequent)
Compute the ratio of this quantity to the given
consequent quantity, if both are of
the same linear kind. |
double |
ScalarQuantity.LongStored.ratioTo(IQuantity denominator) |
double |
ScalarQuantity.DoubleStored.ratioTo(IQuantity denominator) |
IQuantity |
IQuantity.subtract(IQuantity subtrahend)
Returns a new quantity that is the arithmetic difference of this quantity and
subtrahend , if such an operation is defined for this kind of quantity. |
IQuantity |
ScalarQuantity.subtract(IQuantity subtrahend) |
static java.util.Date |
UnitLookup.toDate(IQuantity timestamp)
|
static QuantityConversionException |
QuantityConversionException.unknownUnit(java.lang.String badString,
IQuantity prototype) |
static QuantityConversionException |
QuantityConversionException.unparsable(java.lang.String badString,
IQuantity prototype) |
boolean |
KindOfQuantity.validate(IQuantity value) |
Modifier and Type | Method and Description |
---|---|
IFormatter<IQuantity> |
TimestampKind.getFormatterResolving(IRange<IQuantity> range) |
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
abstract IFormatter<IQuantity> |
KindOfQuantity.getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends of
range , and consecutive equally spaced quantities. |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
Constructor and Description |
---|
Quantity(QuantityConversionException.Problem problem,
IQuantity badQuantity,
IQuantity prototype) |
Quantity(QuantityConversionException.Problem problem,
java.lang.String badString,
IQuantity prototype) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
MCOldObject.address |
Modifier and Type | Method and Description |
---|---|
IQuantity |
MCOldObject.getAddress() |
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point
values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point
values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
Constructor and Description |
---|
MCOldObject(IQuantity address,
IMCType type,
java.lang.String objectDescription,
IMCOldObject referrer,
java.lang.String field,
IQuantity fieldModifier,
IQuantity arraySize,
IQuantity arrayIndex)
Create a new old object instance.
|
MCOldObjectArray(IQuantity arrayIndex,
IQuantity arraySize) |
Modifier and Type | Field and Description |
---|---|
static IAttribute<IQuantity> |
JfrAttributes.CENTER_TIME |
private java.util.Set<IRange<IQuantity>> |
EventCollection.chunkRanges |
static IAttribute<IQuantity> |
JfrAttributes.DURATION |
static IAttribute<IQuantity> |
JfrAttributes.END_TIME |
static IAttribute<IQuantity> |
JfrAttributes.EVENT_TIMESTAMP |
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 |
---|---|
java.util.Set<IRange<IQuantity>> |
EventCollection.getUnfilteredTimeRanges() |
Constructor and Description |
---|
EventCollection(java.util.ArrayList<EventCollection.EventTypeEntry> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
EventArrays.chunkTimeranges |
private IRange<IQuantity> |
ChunkInfo.range |
Modifier and Type | Method and Description |
---|---|
IRange<IQuantity> |
ChunkInfo.getChunkRange() |
java.util.Set<IRange<IQuantity>> |
EventArrays.getChunkTimeranges() |
Constructor and Description |
---|
ChunkInfo(long position,
long size,
IRange<IQuantity> range) |
EventArrays(EventArray[] arrays,
java.util.Set<IRange<IQuantity>> ranges) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
LoaderContext.chunkRanges |
private IMemberAccessor<IQuantity,IItem> |
RepositoryBuilder.DurationEventTypeEntry.endAccessor |
private IMemberAccessor<IQuantity,IItem> |
RepositoryBuilder.InstantEventTypeEntry.order |
private IMemberAccessor<IQuantity,IItem> |
RepositoryBuilder.DurationEventTypeEntry.startAccessor |
Modifier and Type | Method and Description |
---|---|
void |
LoaderContext.addChunkRange(IRange<IQuantity> chunkRange) |
Constructor and Description |
---|
DurationEventTypeEntry(StructContentType<IItem> eventType,
java.lang.String[] category,
ItemBuilder.IItemFactory itemFactory,
java.util.List<ValueField> dataStructure,
IMemberAccessor<IQuantity,IItem> startAccessor,
IMemberAccessor<IQuantity,IItem> endAccessor) |
DurationEventTypeEntry(StructContentType<IItem> eventType,
java.lang.String[] category,
ItemBuilder.IItemFactory itemFactory,
java.util.List<ValueField> dataStructure,
IMemberAccessor<IQuantity,IItem> startAccessor,
IMemberAccessor<IQuantity,IItem> endAccessor) |
InstantEventTypeEntry(StructContentType<IItem> eventType,
java.lang.String[] category,
ItemBuilder.IItemFactory itemFactory,
java.util.List<ValueField> dataStructure,
IMemberAccessor<IQuantity,IItem> order) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
ChunkMetadata.endTime |
private IQuantity |
ChunkMetadata.startTime |
Modifier and Type | Method and Description |
---|---|
(package private) IQuantity |
ChunkMetadata.getEndTime() |
(package private) IQuantity |
ChunkMetadata.getStartTime() |
Modifier and Type | Method and Description |
---|---|
IQuantity |
StructTypes.JfrOldObject.getAddress() |
(package private) IQuantity |
ValueReaders.QuantityReader.quantity(double numericalValue) |
(package private) IQuantity |
ValueReaders.TicksTimestampReader.quantity(double numericalValue) |
(package private) IQuantity |
ValueReaders.QuantityReader.quantity(long numericalValue) |
(package private) IQuantity |
ValueReaders.TicksTimestampReader.quantity(long numericalValue) |
(package private) IQuantity |
ValueReaders.QuantityReader.quantity(java.lang.Number numericalValue) |
(package private) IQuantity |
ValueReaders.TicksTimestampReader.quantity(java.lang.Number numericalValue) |
(package private) IQuantity |
ChunkStructure.ticsTimestamp(long relativeTicks) |
Modifier and Type | Method and Description |
---|---|
(package private) IRange<IQuantity> |
ChunkStructure.getChunkRange() |
Modifier and Type | Field and Description |
---|---|
(package private) IQuantity |
DisjointBuilder.DisjointArray.end |
(package private) IQuantity |
DisjointBuilder.DisjointArray.start |
Modifier and Type | Field and Description |
---|---|
private static IMemberAccessor<IQuantity,DisjointBuilder.DisjointArray<?>> |
DisjointBuilder.DA_END |
private static IMemberAccessor<IQuantity,DisjointBuilder.DisjointArray<?>> |
DisjointBuilder.DA_START |
private IMemberAccessor<IQuantity,? super T> |
DisjointBuilder.endAccessor |
private IMemberAccessor<IQuantity,? super T> |
DisjointBuilder.startAccessor |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
DisjointBuilder.DisjointArray.accept(T e,
IQuantity start,
IQuantity end) |
private int |
DisjointBuilder.addToNewLane(T e,
IQuantity start,
IQuantity end) |
private int |
DisjointBuilder.addToOtherLane(T e,
IQuantity start,
IQuantity end) |
Constructor and Description |
---|
DisjointArray(T e,
IQuantity start,
IQuantity end) |
Constructor and Description |
---|
DisjointBuilder(IMemberAccessor<IQuantity,? super T> startAccessor,
IMemberAccessor<IQuantity,? super T> endAccessor) |
DisjointBuilder(IMemberAccessor<IQuantity,? super T> startAccessor,
IMemberAccessor<IQuantity,? super T> endAccessor) |
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.
|
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private IQuantity |
ReferenceTreeObject.timestamp |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IQuantity,ReferenceTreeObject> |
ReferenceTreeModel.map |
private java.util.Map<IQuantity,ReferenceTreeObject> |
ReferenceTreeObject.oldObjectSamples |
Modifier and Type | Method and Description |
---|---|
IQuantity |
ReferenceTreeObject.getAddress() |
IQuantity |
ReferenceTreeObject.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<IQuantity,ReferenceTreeObject> |
ReferenceTreeObject.getOldObjectSamples() |
Modifier and Type | Method and Description |
---|---|
ReferenceTreeObject |
ReferenceTreeModel.getObject(IQuantity address) |
Modifier and Type | Method and Description |
---|---|
private void |
ReferenceTreeModel.add(IItem item,
IMemberAccessor<IMCOldObject,IItem> objectAccessor,
IMemberAccessor<IQuantity,IItem> allocationTimeAccessor,
IMemberAccessor<IMCOldObjectGcRoot,IItem> gcRootAccessor,
IType<IItem> type)
Adds an
IItem to the tree model as a ReferenceTreeObject |
int |
ReferenceTreeModel.getLeakCountInRange(IRange<IQuantity> timerange,
ReferenceTreeObject referenceTreeObject)
A helper method to calculate number of Referenced Object within specified period.
|
java.util.Collection<ReferenceTreeObject> |
ReferenceTreeModel.getLeakObjects(IRange<IQuantity> timerange) |
java.util.Collection<ReferenceTreeObject> |
ReferenceTreeModel.getRootObjects(IRange<IQuantity> timerange) |
Constructor and Description |
---|
ReferenceTreeObject(IQuantity timestamp,
IMCOldObject object) |
Modifier and Type | Field and Description |
---|---|
(package private) static IAttribute<IQuantity> |
SettingsTransformer.REC_SETTINGS_ATTR_PERIOD |
(package private) static IAttribute<IQuantity> |
SettingsTransformer.REC_SETTINGS_ATTR_THRESHOLD |
Modifier and Type | Method and Description |
---|---|
private boolean |
SettingsTransformer.addPeriodSettingEvent(java.lang.Object startTime,
LabeledIdentifier type,
IQuantity quantity) |
private boolean |
SettingsTransformer.addThresholdSettingEvent(java.lang.Object startTime,
LabeledIdentifier type,
IQuantity quantity) |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IQuantity> |
TypedResult.SCORE
A constant to be used while transitioning the rules api from 1.0 to 2.0 to keep the old score
values.
|
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
RulePreferences.SHORT_RECORDING_LIMIT |
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 | Field and Description |
---|---|
private IQuantity |
CodeCacheRule.CodeHeapData.ratio |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IQuantity> |
CodeCacheRule.CODE_CACHE_FREE_RATIO |
static TypedPreference<IQuantity> |
CodeCacheRule.CODE_CACHE_SIZE_INFO_PERCENT |
static TypedPreference<IQuantity> |
CodeCacheRule.CODE_CACHE_SIZE_WARN_PERCENT |
Modifier and Type | Method and Description |
---|---|
IQuantity |
CodeCacheRule.CodeHeapData.getRatio() |
Modifier and Type | Method and Description |
---|---|
private void |
CodeCacheRule.addIfHalfFull(IQuantity ratioUnallocated,
java.util.List<CodeCacheRule.CodeHeapData> heaps,
java.lang.String name) |
Constructor and Description |
---|
CodeHeapData(java.lang.String name,
IQuantity ratio) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.gcPauseRatio |
private IQuantity |
ObjectStatisticsDataProvider.IncreaseCalculator.maxX |
private IQuantity |
ObjectStatisticsDataProvider.IncreaseCalculator.minX |
private IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.nonGcHaltsRatio |
private IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.nonGcHaltsToTotalRatio |
private IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.safePointRatio |
private IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.totalHaltsRatio |
private IQuantity |
ObjectStatisticsDataProvider.IncreaseCalculator.yAtMaxX |
private IQuantity |
ObjectStatisticsDataProvider.IncreaseCalculator.yAtMinX |
Modifier and Type | Field and Description |
---|---|
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.MAX_ENDTIME |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.MIN_ENDTIME |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.TOP_FRAME_BALANCE
Ready to use aggregator using the
MethodProfilingDataProvider.topFrameBalanceFunction . |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.TOP_FRAME_QUOTA
Ready to use aggregator using the
MethodProfilingDataProvider.topFrameQuotaFunction . |
static GroupingAggregator.IQuantityListFinisher<IQuantity> |
MethodProfilingDataProvider.topFrameBalanceFunction
Function that calculates a value representing how balanced the set of top frames is as a
number in the range [0,1].
|
static GroupingAggregator.IQuantityListFinisher<IQuantity> |
MethodProfilingDataProvider.topFrameQuotaFunction
A quota calculation of how large a part the most commonly occurring top frame is of the total
amount of samples input.
|
private IMemberAccessor<IQuantity,IItem> |
ObjectStatisticsDataProvider.IncreaseCalculator.xAccessor |
private IMemberAccessor<IQuantity,IItem> |
ObjectStatisticsDataProvider.IncreaseCalculator.yAccessor |
Modifier and Type | Method and Description |
---|---|
static IQuantity |
HaltsProvider.calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
static IQuantity |
HaltsProvider.calculateGcPauseRatio(IItemCollection items)
Calculates the ratio of GC pauses to the total time.
|
private static IQuantity |
HaltsProvider.calculateHaltsRatio(IItemCollection items,
IQuantity pauseTime,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSum(IItemCollection items,
IItemFilter pauseFilter,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSumWithEncapsulationTree(IItemCollection items,
IItemFilter haltsFilter,
IQuantity startTime,
IQuantity endTime) |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getGcPauseRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getNonGcHaltsRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getNonGcHaltsToTotalRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getSafePointRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getTotalHaltsRatio() |
Modifier and Type | Method and Description |
---|---|
private static IRange<IQuantity> |
HaltsProvider.createRange(IItemCollection items) |
static SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> |
HaltsProvider.gcHaltsRatioFunction() |
static IAggregator<IQuantity,?> |
ObjectStatisticsDataProvider.getIncreaseAggregator() |
Modifier and Type | Method and Description |
---|---|
private void |
ObjectStatisticsDataProvider.IncreaseCalculator.add(IQuantity x,
IQuantity y) |
static IQuantity |
HaltsProvider.calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
private static IQuantity |
HaltsProvider.calculateHaltsRatio(IItemCollection items,
IQuantity pauseTime,
IQuantity startTime,
IQuantity endTime) |
private static HaltsProvider.ApplicationHaltsInfoHolder |
HaltsProvider.calculateHaltsRatiosWithEncapsulationTree(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSum(IItemCollection items,
IItemFilter pauseFilter,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSumWithEncapsulationTree(IItemCollection items,
IItemFilter haltsFilter,
IQuantity startTime,
IQuantity endTime) |
Constructor and Description |
---|
ApplicationHaltsInfoHolder(IQuantity gcPauseRatio,
IQuantity safePointRatio,
IQuantity totalHaltsRatio) |
Constructor and Description |
---|
IncreaseCalculator(IMemberAccessor<IQuantity,IItem> xAccessor,
IMemberAccessor<IQuantity,IItem> yAccessor) |
IncreaseCalculator(IMemberAccessor<IQuantity,IItem> xAccessor,
IMemberAccessor<IQuantity,IItem> yAccessor) |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IQuantity> |
ErrorRule.ERROR_COUNT |
static TypedPreference<IQuantity> |
ErrorRule.ERROR_INFO_LIMIT |
static TypedResult<IQuantity> |
ErrorRule.ERROR_RATE |
static TypedPreference<IQuantity> |
ErrorRule.ERROR_WARNING_LIMIT |
static TypedResult<IRange<IQuantity>> |
ErrorRule.ERROR_WINDOW |
static TypedPreference<IQuantity> |
ErrorRule.ERROR_WINDOW_SIZE |
static TypedResult<IQuantity> |
ExceptionRule.EXCEPTION_RATE |
static TypedResult<IRange<IQuantity>> |
ExceptionRule.EXCEPTION_WINDOW |
static TypedPreference<IQuantity> |
ExceptionRule.EXCEPTIONS_INFO_LIMIT |
static TypedPreference<IQuantity> |
ExceptionRule.EXCEPTIONS_WARNING_LIMIT |
static TypedResult<IQuantity> |
ErrorRule.EXCLUDED_ERRORS |
static TypedResult<IQuantity> |
ErrorRule.MOST_COMMON_ERROR_COUNT |
Modifier and Type | Field and Description |
---|---|
private static IQuantity |
StackDepthSettingRule.DEFAULT_STACK_DEPTH_SETTING |
private static IQuantity |
DiscouragedGcOptionsRule.HW_THREADS_FOR_MULTI_CPU |
private static IQuantity |
DiscouragedGcOptionsRule.LARGE_HEAP |
private static IQuantity |
DiscouragedGcOptionsRule.ONE |
private IQuantity |
StackDepthSettingRule.StackDepthTruncationData.percentTruncated |
Modifier and Type | Method and Description |
---|---|
private static IQuantity |
FewSampledThreadsRule.getHardwareThreads(IItemCollection items) |
IQuantity |
StackDepthSettingRule.StackDepthTruncationData.getPercentTruncated() |
Modifier and Type | Method and Description |
---|---|
private double |
BufferLostRule.calculateScore(IQuantity limit,
IQuantity droppedCount) |
private IResult |
FewSampledThreadsRule.getIdleResult(IItemCollection items,
IQuantity minCpuRatio,
IQuantity windowSize,
int sampledThreads,
IPreferenceValueProvider vp) |
Constructor and Description |
---|
StackDepthTruncationData(java.lang.String type,
IQuantity percentTruncated) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
MethodProfilingRule.MethodProfilingWindowResult.ratioOfActualSamples |
private IQuantity |
MethodProfilingRule.MethodProfilingWindowResult.ratioOfAllPossibleSamples |
Modifier and Type | Method and Description |
---|---|
private IQuantity |
VMOperationRule.getDuration(IItem event) |
private IQuantity |
VMOperationRule.getEndTime(IItem event) |
IQuantity |
MethodProfilingRule.MethodProfilingWindowResult.getRatioOfActualSamples() |
IQuantity |
MethodProfilingRule.MethodProfilingWindowResult.getRatioOfAllPossibleSamples() |
(package private) IQuantity |
MethodProfilingRule.PeriodRangeMap.getSetting(IQuantity timestamp)
Gets the execution sample period that is in effect for the given timestamp.
|
private IQuantity |
VMOperationRule.getStartTime(IItem event) |
private IQuantity |
MethodProfilingRule.getValueQuantity(java.lang.String settingValue)
Used to parse the value of a Recording Setting Period attribute
|
Modifier and Type | Method and Description |
---|---|
private Pair<IItem,IQuantity> |
VMOperationRule.findLongestEventInfo(IItemCollection items) |
IRange<IQuantity> |
MethodProfilingRule.MethodProfilingWindowResult.getWindow() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MethodProfilingRule.PeriodRangeMap.addSetting(IQuantity settingTime,
IQuantity setting) |
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.
|
(package private) IQuantity |
MethodProfilingRule.PeriodRangeMap.getSetting(IQuantity timestamp)
Gets the execution sample period that is in effect for the given timestamp.
|
Constructor and Description |
---|
MethodProfilingWindowResult(IMCMethod method,
IMCStackTrace path,
IQuantity ratio,
IQuantity actualRatio,
IRange<IQuantity> window) |
Constructor and Description |
---|
MethodProfilingWindowResult(IMCMethod method,
IMCStackTrace path,
IQuantity ratio,
IQuantity actualRatio,
IRange<IQuantity> window) |
Modifier and Type | Field and Description |
---|---|
protected IQuantity |
GcFreedRatioRule.GcInfoHolder.averageLiveset |
protected IQuantity |
GcFreedRatioRule.GcInfoHolder.freedPerSecond |
protected IQuantity |
GcFreedRatioRule.GcInfoHolder.freedPerSecondToLivesetRatio |
Modifier and Type | Method and Description |
---|---|
private IQuantity |
IncreasingLiveSetRule.getPostWarmupTime(IItemCollection items,
IQuantity classesLoadedPercent) |
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 static java.lang.String |
LongGcPauseRule.getLivesetMessage(IQuantity liveSet,
IQuantity maxMx) |
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 GcFreedRatioRule.GcInfoHolder |
GcFreedRatioRule.getMaxFreedWindow(IItemCollection allItems,
IQuantity windowSize,
IQuantity slideSize) |
private IQuantity |
IncreasingLiveSetRule.getPostWarmupTime(IItemCollection items,
IQuantity classesLoadedPercent) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
ClassEntry.count |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
SingleEntryItemCollection.chunkRanges |
Modifier and Type | Method and Description |
---|---|
IQuantity |
ClassEntry.getCount() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IRange<IQuantity>> |
SingleEntryItemCollection.getUnfilteredTimeRanges() |
Constructor and Description |
---|
ClassEntry(IMCType type,
IQuantity count) |
Constructor and Description |
---|
SingleEntryItemCollection(IItem item,
java.util.Set<IRange<IQuantity>> chunkRanges) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
TreeNode.endTime |
IQuantity |
Range.endTime |
private IQuantity |
TreeNode.startTime |
IQuantity |
Range.startTime |
Modifier and Type | Method and Description |
---|---|
IQuantity |
TreeNode.getEndTime() |
IQuantity |
TreeNode.getStartTime() |
Modifier and Type | Method and Description |
---|---|
private static void |
ItemTreeBuilder.addTimeSplitNode(TreeNode<IItem> node,
IItem item,
boolean itemHasDuration,
IQuantity itemStartTime,
IQuantity itemEndTime,
IMCThread itemThread,
ItemTreeBuilder.IItemTreeBuilderCallback callback,
boolean ignoreThread) |
private static void |
ItemTreeToolkit.appendLayerBreakdown(java.lang.StringBuilder report,
IQuantity firstLayerDuration,
LayerBreakdownVisitor.LayerBreakdown breakdown) |
private static boolean |
ItemTreeBuilder.enclosesTreeItem(boolean encloserHasDuration,
IQuantity encloserStartTime,
IQuantity encloserEndTime,
IMCThread encloserThread,
TreeNode<IItem> enclosee,
boolean ignoreThread) |
boolean |
Range.isAfter(IQuantity time) |
boolean |
Range.isBefore(IQuantity time) |
boolean |
Range.isInside(IQuantity time) |
private static java.lang.Object |
ItemTreeToolkit.toString(IQuantity duration) |
private static boolean |
ItemTreeBuilder.treeItemEncloses(TreeNode<IItem> encloser,
IQuantity encloseeStartTime,
IQuantity encloseeEndTime,
IMCThread encloseeThread,
boolean ignoreThread) |
Constructor and Description |
---|
Range(IQuantity startTime,
IQuantity endTime) |
TreeNode(T item,
boolean hasDuration,
IQuantity startTime,
IQuantity endTime,
IMCThread thread) |
Modifier and Type | Field and Description |
---|---|
private IQuantity |
LayerBreakdownVisitor.LayerEntry.duration |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IType<?>,IQuantity> |
LayerBreakdownVisitor.LayerBreakdown.typeToDuration |
Modifier and Type | Method and Description |
---|---|
IQuantity |
LayerBreakdownVisitor.LayerBreakdown.getDuration() |
IQuantity |
LayerBreakdownVisitor.LayerEntry.getDuration() |
Constructor and Description |
---|
LayerEntry(IType<?> type,
IQuantity duration) |
Modifier and Type | Field and Description |
---|---|
private static IAggregator<IQuantity,?> |
RulesToolkit.EARLIEST_END_TIME |
private static IAggregator<IQuantity,?> |
RulesToolkit.EARLIEST_START_TIME |
private static IAggregator<IQuantity,?> |
RulesToolkit.LATEST_END_TIME |
private static java.util.Comparator<IQuantity> |
SlidingWindowToolkit.QUANTITY_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
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.getEarliestEndTime(IItemCollection items)
Returns the earliest end time in the provided item collection.
|
static IQuantity |
RulesToolkit.getEarliestStartTime(IItemCollection items)
Returns the earliest start time in the provided item collection.
|
static IQuantity |
RulesToolkit.getEndTime(IItem item)
Convenience method to get the end time value from a specific event.
|
private static IQuantity |
RulesToolkit.getItemRange(IItemCollection items) |
static IQuantity |
RulesToolkit.getLatestEndTime(IItemCollection items)
Returns the latest end time in the provided item collection.
|
static IQuantity |
RulesToolkit.getSettingMaxPeriod(IItemCollection items,
java.lang.String... typeIds)
Gets the maximum period setting for the specified event types in the given item collection.
|
private static IQuantity |
RulesToolkit.getSettingMaxPeriod(java.lang.Iterable<java.lang.String> settingsValues) |
static IQuantity |
RulesToolkit.getStartTime(IItem item)
Convenience method for getting the start time value from a specific event.
|
static IQuantity |
RulesToolkit.parsePersistedJvmTimespan(java.lang.String persistedValue)
Converts a value persisted as a string by the JVM into an
IQuantity . |
static IQuantity |
RulesToolkit.toRatioPercent(IQuantity antecedent,
IQuantity consequent)
Calculates the ratio between two
IQuantity values of compatible, linear kind and
returns it represented as a percentage. |
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 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 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.
|
Modifier and Type | Method and Description |
---|---|
static IQuantity |
RulesToolkit.getDurationInWindow(IQuantity windowStart,
IQuantity windowEnd,
IItem item)
Get the duration for item within the specified window
|
static java.lang.String |
RulesToolkit.getPeriodIfGreaterThan(IItemCollection items,
IQuantity minPeriod,
java.lang.String... typeIds)
If possible, gets the longest period setting that is longer than the specified minimum period
for the given event types.
|
static java.lang.String |
RulesToolkit.getShortRecordingInfo(IItemCollection items,
IQuantity shortRecordingLimit)
Checks if the timerange spanned by the items is shorter than the limit, and returns a
informative text message if that is the case.
|
V |
SlidingWindowToolkit.IUnorderedWindowValueFunction.getValue(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
static void |
SlidingWindowToolkit.slidingWindowOrdered(SlidingWindowToolkit.IOrderedWindowVisitor callback,
java.util.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.slidingWindowUnordered(SlidingWindowToolkit.IUnorderedWindowVisitor callback,
IItemCollection items,
IQuantity windowSize,
IQuantity slideSize)
Runs a sliding window through all items, by calculating the window start and end and filter
through all the items.
|
static void |
SlidingWindowToolkit.slidingWindowUnordered(SlidingWindowToolkit.IUnorderedWindowVisitor callback,
IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
boolean includeIntersecting)
Runs a sliding window through all items, by calculating the window start and end and filter
through all the items.
|
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.
|
static IQuantity |
RulesToolkit.toRatioPercent(IQuantity antecedent,
IQuantity consequent)
Calculates the ratio between two
IQuantity values of compatible, linear kind and
returns it represented as a percentage. |
static java.lang.String |
RulesToolkit.toRatioPercentString(IQuantity antecedent,
IQuantity consequent)
Same calculation as
RulesToolkit.toRatioPercent(IQuantity, IQuantity) but it returns
the percentage as a string instead. |
void |
SlidingWindowToolkit.IUnorderedWindowVisitor.visitWindow(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
Modifier and Type | Method and Description |
---|---|
static double |
RulesToolkit.leastSquareMemory(java.util.Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static double |
RulesToolkit.leastSquareMemory(java.util.Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static void |
SlidingWindowToolkit.slidingWindowOrdered(SlidingWindowToolkit.IOrderedWindowVisitor callback,
java.util.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 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 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.
|
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 void |
StacktraceGraphModel.addItem(IItem item,
IMemberAccessor<IMCStackTrace,IItem> stackTraceAccessor,
IMemberAccessor<IQuantity,IItem> quantityAccessor) |
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 void |
StacktraceTreeModel.addItem(IItem item,
IMemberAccessor<IMCStackTrace,IItem> stacktraceAccessor,
IMemberAccessor<IQuantity,IItem> quantityAccessor) |
Constructor and Description |
---|
StacktraceTreeModel(IItemCollection items,
FrameSeparator frameSeparator,
boolean invertedStacks,
IAttribute<IQuantity> attribute)
Builds a StacktraceTreeModel from a given collection of events.
|