Uses of Interface
org.openjdk.jmc.common.unit.IQuantity
-
-
Uses of IQuantity in org.openjdk.jmc.common
Methods in org.openjdk.jmc.common that return IQuantity Modifier and Type Method Description IQuantity
IMCOldObject. getAddress()
The address of the object, used for identity purposes. -
Uses of IQuantity in org.openjdk.jmc.common.item
Fields in org.openjdk.jmc.common.item with type parameters of type IQuantity Modifier and Type Field Description (package private) IMemberAccessor<? extends IQuantity,IItem>
Aggregators.QuantityConsumer. accessor
Methods in org.openjdk.jmc.common.item that return IQuantity Modifier and Type Method Description IQuantity
Aggregators.Avg. getValue(Aggregators.AvgConsumer consumer)
IQuantity
Aggregators.Count. getValue(Aggregators.CountConsumer consumer)
IQuantity
Aggregators.Stddev. getValue(Aggregators.VarianceConsumer consumer)
IQuantity
Aggregators.Sum. getValue(Aggregators.SumConsumer consumer)
IQuantity
Aggregators.Variance. getValue(Aggregators.VarianceConsumer consumer)
Methods in org.openjdk.jmc.common.item that return types with arguments of type IQuantity Modifier and Type Method Description static IAggregator<IQuantity,?>
Aggregators. avg(java.lang.String name, java.lang.String description, 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 typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(IAttribute<IQuantity> attribute)
static <V,C extends IItemConsumer<C>>
IAggregator<IQuantity,?>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.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 IAggregator<IQuantity,?>
Aggregators. count(IItemFilter filter)
static IAggregator<IQuantity,?>
Aggregators. count(IType<?> type)
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)
static IAggregator<IQuantity,?>
Aggregators. max(java.lang.String typeId, IAttribute<IQuantity> 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.static IAggregator<IQuantity,?>
Aggregators. stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.private static IAggregator<IQuantity,?>
Aggregators. stddevInternal(java.lang.String name, java.lang.String description, IAttribute<IQuantity> attribute, boolean besselCorrection)
private static IAggregator<IQuantity,?>
Aggregators. stddevInternal(IAttribute<IQuantity> attribute, boolean besselCorrection)
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. stddevp(IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.static IAggregator<IQuantity,?>
Aggregators. sum(java.lang.String name, java.lang.String description, 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 typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(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.Methods in org.openjdk.jmc.common.item with parameters of type IQuantity Modifier and Type Method Description V
GroupingAggregator.IQuantityListFinisher. getValue(java.util.List<IQuantity> values, IQuantity total)
Method parameters in org.openjdk.jmc.common.item with type arguments of type IQuantity Modifier and Type Method Description static IAggregator<IQuantity,?>
Aggregators. avg(java.lang.String name, java.lang.String description, 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 typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(IAttribute<IQuantity> attribute)
static <V,K,C extends IItemConsumer<C>>
IAggregator<V,?>GroupingAggregator. build(java.lang.String name, java.lang.String description, IAccessorFactory<K> keyField, IAggregator<IQuantity,C> a, GroupingAggregator.IQuantityListFinisher<V> groupFinisher)
static <V,C extends IItemConsumer<C>>
IAggregator<IQuantity,?>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(java.lang.String name, java.lang.String description, IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.static IAggregator<IQuantity,?>
Aggregators. stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.private static IAggregator<IQuantity,?>
Aggregators. stddevInternal(java.lang.String name, java.lang.String description, IAttribute<IQuantity> attribute, boolean besselCorrection)
private static IAggregator<IQuantity,?>
Aggregators. stddevInternal(IAttribute<IQuantity> attribute, boolean besselCorrection)
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. stddevp(IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.static IAggregator<IQuantity,?>
Aggregators. sum(java.lang.String name, java.lang.String description, 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 typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(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 parameters in org.openjdk.jmc.common.item with type arguments of type IQuantity Constructor 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)
SumConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor)
VarianceConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor)
-
Uses of IQuantity in org.openjdk.jmc.common.unit
Subinterfaces of IQuantity in org.openjdk.jmc.common.unit Modifier and Type Interface Description interface
ITypedQuantity<U extends TypedUnit<U>>
Type parameterized extension ofIQuantity
.Classes in org.openjdk.jmc.common.unit that implement IQuantity Modifier and Type Class 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>>
Fields in org.openjdk.jmc.common.unit declared as IQuantity Modifier and Type Field Description protected IQuantity
QuantityConversionException.Quantity. badQuantity
protected IQuantity
QuantityConversionException.Quantity. prototype
Methods in org.openjdk.jmc.common.unit with type parameters of type IQuantity Modifier and Type Method Description static <Q extends IQuantity>
QuantityConversionExceptionQuantityConversionException. belowPrecision(Q badValue, Q precisionLimit)
static <Q extends IQuantity>
QuantityConversionExceptionQuantityConversionException. tooHigh(Q badValue, Q max)
static <Q extends IQuantity>
QuantityConversionExceptionQuantityConversionException. tooLow(Q badValue, Q min)
Methods in org.openjdk.jmc.common.unit that return IQuantity Modifier and Type Method Description IQuantity
IQuantity. add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity andaddend
, 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 unittargetUnit
.IQuantity
ScalarQuantity. in(IUnit targetUnit)
IQuantity
IQuantity. multiply(double factor)
Returns a new quantity that is this quantity multiplied withfactor
, if this is a linear quantity.IQuantity
IQuantity. multiply(long factor)
Returns a new quantity that is this quantity multiplied withfactor
, 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 tonumericalValue
.IQuantity
IUnit. quantity(long numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal tonumericalValue
.IQuantity
IUnit. quantity(java.lang.Number numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal tonumericalValue
.IQuantity
IQuantity. subtract(IQuantity subtrahend)
Returns a new quantity that is the arithmetic difference of this quantity andsubtrahend
, if such an operation is defined for this kind of quantity.IQuantity
ScalarQuantity. subtract(IQuantity subtrahend)
Methods in org.openjdk.jmc.common.unit that return types with arguments of type IQuantity Modifier and Type Method Description IConstraint<IQuantity>
KindOfQuantity. combine(IConstraint<?> other)
(package private) static RangeContentType<IQuantity>
RangeContentType. create(KindOfQuantity<?> endPointType)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createPoint(IQuantity start)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithEnd(IQuantity start, IQuantity end)
static <U extends TypedUnit<U>>
IRange<IQuantity>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 mostmaxBuckets
"naturally" aligned buckets, and return the first one.protected IRange<IQuantity>
KindOfQuantity. getFirstBucket(ITypedQuantity<U> start, ITypedQuantity<U> end, double maxBuckets)
abstract IFormatter<IQuantity>
KindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends ofrange
, and consecutive equally spaced quantities.IFormatter<IQuantity>
LinearKindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
IFormatter<IQuantity>
TimestampKind. getFormatterResolving(IRange<IQuantity> range)
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)
Methods in org.openjdk.jmc.common.unit with parameters of type IQuantity Modifier and Type Method Description IQuantity
IQuantity. add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity andaddend
, 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>>
IRange<IQuantity>QuantityRange. createPoint(IQuantity start)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithEnd(IQuantity start, IQuantity end)
static <U extends TypedUnit<U>>
IRange<IQuantity>QuantityRange. createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent)
protected java.util.Date
TimestampKind.LegacyFormatter. dateFor(IQuantity q)
java.lang.String
KindOfQuantity.ExactFormatter. format(IQuantity quantity)
java.lang.String
KindOfQuantity.VerboseFormatter. format(IQuantity quantity)
java.lang.String
LinearKindOfQuantity.AutoFormatter. format(IQuantity quantity)
java.lang.String
LinearKindOfQuantity.DualUnitFormatter. format(IQuantity quantity)
java.lang.String
TimestampKind.FractionFormatter. format(IQuantity q)
java.lang.String
TimestampKind.LegacyAndFractionFormatter. format(IQuantity q)
java.lang.String
TimestampKind.LegacyFormatter. format(IQuantity q)
java.lang.String
IIncrementalFormatter. formatAdjacent(IQuantity previous, IQuantity current)
Return a string representation ofcurrent
that is minimalistic, yet includes sufficient context so that a human can deduce its full value, given that a sufficient representation ofprevious
is presented immediately ahead.java.lang.String
IIncrementalFormatter. formatContext(IQuantity firstPresented)
Return a string context that can be presented ahead of presentingfirstPresented
so that the latter can be presented with a minimalistic representation usingformatChange(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 mostmaxBuckets
"naturally" aligned buckets, and return the first one.abstract U
KindOfQuantity. getLargestExactUnit(IQuantity quantity)
Get the largest unit, if any, in which this quantity can be expressed exactly, typically with an integer.LinearUnit
LinearKindOfQuantity. getLargestExactUnit(IQuantity quantity)
TimestampUnit
TimestampKind. getLargestExactUnit(IQuantity value)
abstract U
KindOfQuantity. getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue)
LinearUnit
LinearKindOfQuantity. getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue)
TimestampUnit
TimestampKind. getPreferredUnit(IQuantity value, 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 givenconsequent
quantity, if both are of the same linear kind.double
ScalarQuantity.DoubleStored. ratioTo(IQuantity denominator)
double
ScalarQuantity.LongStored. ratioTo(IQuantity denominator)
IQuantity
IQuantity. subtract(IQuantity subtrahend)
Returns a new quantity that is the arithmetic difference of this quantity andsubtrahend
, 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)
Method parameters in org.openjdk.jmc.common.unit with type arguments of type IQuantity Modifier and Type Method Description abstract IFormatter<IQuantity>
KindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends ofrange
, and consecutive equally spaced quantities.IFormatter<IQuantity>
LinearKindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
IFormatter<IQuantity>
TimestampKind. getFormatterResolving(IRange<IQuantity> range)
static IRange<IQuantity>
QuantityRange. intersection(IRange<IQuantity> a, IRange<IQuantity> b)
Constructors in org.openjdk.jmc.common.unit with parameters of type IQuantity Constructor Description Quantity(QuantityConversionException.Problem problem, java.lang.String badString, IQuantity prototype)
Quantity(QuantityConversionException.Problem problem, IQuantity badQuantity, IQuantity prototype)
-
Uses of IQuantity in org.openjdk.jmc.common.util
Fields in org.openjdk.jmc.common.util declared as IQuantity Modifier and Type Field Description private IQuantity
MCOldObject. address
Methods in org.openjdk.jmc.common.util that return IQuantity Modifier and Type Method Description IQuantity
MCOldObject. getAddress()
Methods in org.openjdk.jmc.common.util that return types with arguments of type IQuantity Modifier and Type Method 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.Method parameters in org.openjdk.jmc.common.util with type arguments of type IQuantity Modifier and Type Method 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.Constructors in org.openjdk.jmc.common.util with parameters of type IQuantity Constructor 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)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder
Fields in org.openjdk.jmc.flightrecorder with type parameters of type IQuantity Modifier and Type Field Description static IAttribute<IQuantity>
JfrAttributes. CENTER_TIME
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
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.internal
Fields in org.openjdk.jmc.flightrecorder.internal with type parameters of type IQuantity Modifier and Type Field Description private IRange<IQuantity>
ChunkInfo. range
Methods in org.openjdk.jmc.flightrecorder.internal that return types with arguments of type IQuantity Modifier and Type Method Description IRange<IQuantity>
ChunkInfo. getChunkRange()
Constructor parameters in org.openjdk.jmc.flightrecorder.internal with type arguments of type IQuantity Constructor Description ChunkInfo(long position, long size, IRange<IQuantity> range)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.internal.parser
Fields in org.openjdk.jmc.flightrecorder.internal.parser with type parameters of type IQuantity Modifier and Type Field Description private IMemberAccessor<IQuantity,IItem>
RepositoryBuilder.DurationEventTypeEntry. endAccessor
private IMemberAccessor<IQuantity,IItem>
RepositoryBuilder.InstantEventTypeEntry. order
private IMemberAccessor<IQuantity,IItem>
RepositoryBuilder.DurationEventTypeEntry. startAccessor
Constructor parameters in org.openjdk.jmc.flightrecorder.internal.parser with type arguments of type IQuantity Constructor 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)
InstantEventTypeEntry(StructContentType<IItem> eventType, java.lang.String[] category, ItemBuilder.IItemFactory itemFactory, java.util.List<ValueField> dataStructure, IMemberAccessor<IQuantity,IItem> order)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.internal.parser.v0
Fields in org.openjdk.jmc.flightrecorder.internal.parser.v0 declared as IQuantity Modifier and Type Field Description private IQuantity
ChunkMetadata. endTime
private IQuantity
ChunkMetadata. startTime
Methods in org.openjdk.jmc.flightrecorder.internal.parser.v0 that return IQuantity Modifier and Type Method Description (package private) IQuantity
ChunkMetadata. getEndTime()
(package private) IQuantity
ChunkMetadata. getStartTime()
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.internal.parser.v1
Methods in org.openjdk.jmc.flightrecorder.internal.parser.v1 that return IQuantity Modifier and Type Method Description IQuantity
StructTypes.JfrOldObject. getAddress()
(package private) IQuantity
ValueReaders.QuantityReader. quantity(double numericalValue)
(package private) IQuantity
ValueReaders.QuantityReader. quantity(long numericalValue)
(package private) IQuantity
ValueReaders.QuantityReader. quantity(java.lang.Number numericalValue)
(package private) IQuantity
ValueReaders.TicksTimestampReader. quantity(double numericalValue)
(package private) IQuantity
ValueReaders.TicksTimestampReader. quantity(long numericalValue)
(package private) IQuantity
ValueReaders.TicksTimestampReader. quantity(java.lang.Number numericalValue)
(package private) IQuantity
ChunkStructure. ticsTimestamp(long relativeTicks)
Methods in org.openjdk.jmc.flightrecorder.internal.parser.v1 that return types with arguments of type IQuantity Modifier and Type Method Description (package private) IRange<IQuantity>
ChunkStructure. getChunkRange()
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.internal.util
Fields in org.openjdk.jmc.flightrecorder.internal.util declared as IQuantity Modifier and Type Field Description (package private) IQuantity
DisjointBuilder.DisjointArray. end
(package private) IQuantity
DisjointBuilder.DisjointArray. start
Fields in org.openjdk.jmc.flightrecorder.internal.util with type parameters of type IQuantity Modifier and Type Field 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
Methods in org.openjdk.jmc.flightrecorder.internal.util with parameters of type IQuantity Modifier and Type Method 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)
Constructors in org.openjdk.jmc.flightrecorder.internal.util with parameters of type IQuantity Constructor Description DisjointArray(T e, IQuantity start, IQuantity end)
Constructor parameters in org.openjdk.jmc.flightrecorder.internal.util with type arguments of type IQuantity Constructor Description DisjointBuilder(IMemberAccessor<IQuantity,? super T> startAccessor, IMemberAccessor<IQuantity,? super T> endAccessor)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.jdk
Methods in org.openjdk.jmc.flightrecorder.jdk that return types with arguments of type IQuantity Modifier and Type Method 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.Method parameters in org.openjdk.jmc.flightrecorder.jdk with type arguments of type IQuantity Modifier and Type Method 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. -
Uses of IQuantity in org.openjdk.jmc.flightrecorder.memleak
Fields in org.openjdk.jmc.flightrecorder.memleak declared as IQuantity Modifier and Type Field Description private IQuantity
ReferenceTreeObject. timestamp
Fields in org.openjdk.jmc.flightrecorder.memleak with type parameters of type IQuantity Modifier and Type Field Description private java.util.Map<IQuantity,ReferenceTreeObject>
ReferenceTreeModel. map
private java.util.Map<IQuantity,ReferenceTreeObject>
ReferenceTreeObject. oldObjectSamples
Methods in org.openjdk.jmc.flightrecorder.memleak that return IQuantity Modifier and Type Method Description IQuantity
ReferenceTreeObject. getAddress()
IQuantity
ReferenceTreeObject. getTimestamp()
Methods in org.openjdk.jmc.flightrecorder.memleak that return types with arguments of type IQuantity Modifier and Type Method Description java.util.Map<IQuantity,ReferenceTreeObject>
ReferenceTreeObject. getOldObjectSamples()
Methods in org.openjdk.jmc.flightrecorder.memleak with parameters of type IQuantity Modifier and Type Method Description ReferenceTreeObject
ReferenceTreeModel. getObject(IQuantity address)
Method parameters in org.openjdk.jmc.flightrecorder.memleak with type arguments of type IQuantity Modifier and Type Method Description 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)
Constructors in org.openjdk.jmc.flightrecorder.memleak with parameters of type IQuantity Constructor Description ReferenceTreeObject(IQuantity timestamp, IMCOldObject object)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.parser.synthetic
Fields in org.openjdk.jmc.flightrecorder.parser.synthetic with type parameters of type IQuantity Modifier and Type Field Description (package private) static IAttribute<IQuantity>
SettingsTransformer. REC_SETTINGS_ATTR_PERIOD
(package private) static IAttribute<IQuantity>
SettingsTransformer. REC_SETTINGS_ATTR_THRESHOLD
Methods in org.openjdk.jmc.flightrecorder.parser.synthetic with parameters of type IQuantity Modifier and Type Method 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)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk
Fields in org.openjdk.jmc.flightrecorder.rules.jdk with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
RulePreferences. SHORT_RECORDING_LIMIT
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.combine
Method parameters in org.openjdk.jmc.flightrecorder.rules.jdk.combine with type arguments of type IQuantity Modifier and Type Method Description 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. -
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.compilation
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.compilation declared as IQuantity Modifier and Type Field Description private IQuantity
CodeCacheRule.CodeHeapData. ratio
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.compilation with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
CodeCacheRule. CODE_CACHE_SIZE_INFO_PERCENT
static TypedPreference<IQuantity>
CodeCacheRule. CODE_CACHE_SIZE_WARN_PERCENT
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.compilation that return IQuantity Modifier and Type Method Description (package private) IQuantity
CodeCacheRule.CodeHeapData. getRatio()
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.compilation with parameters of type IQuantity Modifier and Type Method Description private void
CodeCacheRule. addIfHalfFull(IQuantity ratioUnallocated, java.util.List<CodeCacheRule.CodeHeapData> heaps, java.lang.String name)
Constructors in org.openjdk.jmc.flightrecorder.rules.jdk.compilation with parameters of type IQuantity Constructor Description CodeHeapData(java.lang.String name, IQuantity ratio)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.cpu
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.cpu with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
HighJvmCpuRule. JVM_CPU_INFO_LIMIT
private static IAggregator<IQuantity,?>
HighJvmCpuRule. MAX_ENDTIME
private static IAggregator<IQuantity,?>
HighJvmCpuRule. MIN_ENDTIME
static TypedPreference<IQuantity>
HighJvmCpuRule. MINIMUM_CPU_LOAD_PERIOD
static TypedPreference<IQuantity>
HighJvmCpuRule. MISSING_SAMPLE_LIMIT
static TypedPreference<IQuantity>
CompareCpuRule. OTHER_CPU_INFO_LIMIT
static TypedPreference<IQuantity>
CompareCpuRule. OTHER_CPU_WARNING_LIMIT
static TypedPreference<IQuantity>
ManyRunningProcessesRule. OTHER_PROCESSES_INFO_LIMIT
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders declared as IQuantity Modifier and Type Field 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
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders with type parameters of type IQuantity Modifier and Type Field 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 theMethodProfilingDataProvider.topFrameBalanceFunction
.static IAggregator<IQuantity,?>
MethodProfilingDataProvider. TOP_FRAME_QUOTA
Ready to use aggregator using theMethodProfilingDataProvider.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
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders that return IQuantity Modifier and Type Method 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()
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders that return types with arguments of type IQuantity Modifier and Type Method Description private static IRange<IQuantity>
HaltsProvider. createRange(IItemCollection items)
static SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity>
HaltsProvider. gcHaltsRatioFunction()
static IAggregator<IQuantity,?>
ObjectStatisticsDataProvider. getIncreaseAggregator()
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders with parameters of type IQuantity Modifier and Type Method 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)
Constructors in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders with parameters of type IQuantity Constructor Description ApplicationHaltsInfoHolder(IQuantity gcPauseRatio, IQuantity safePointRatio, IQuantity totalHaltsRatio)
Constructor parameters in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders with type arguments of type IQuantity Constructor Description IncreaseCalculator(IMemberAccessor<IQuantity,IItem> xAccessor, IMemberAccessor<IQuantity,IItem> yAccessor)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.exceptions
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.exceptions with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
ErrorRule. ERROR_INFO_LIMIT
static TypedPreference<IQuantity>
ErrorRule. ERROR_WARNING_LIMIT
static TypedPreference<IQuantity>
ErrorRule. ERROR_WINDOW_SIZE
static TypedPreference<IQuantity>
ExceptionRule. EXCEPTIONS_INFO_LIMIT
static TypedPreference<IQuantity>
ExceptionRule. EXCEPTIONS_WARNING_LIMIT
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.general
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.general declared as IQuantity Modifier and Type Field Description private static IQuantity
DiscouragedGcOptionsRule. HW_THREADS_FOR_MULTI_CPU
private static IQuantity
DiscouragedGcOptionsRule. LARGE_HEAP
private static IQuantity
DiscouragedGcOptionsRule. ONE
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.general that return IQuantity Modifier and Type Method Description private static IQuantity
FewSampledThreadsRule. getHardwareThreads(IItemCollection items)
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.general with parameters of type IQuantity Modifier and Type Method Description private double
BufferLostRule. calculateScore(IQuantity limit, IQuantity droppedCount)
private Result
FewSampledThreadsRule. getIdleResult(IItemCollection items, IQuantity minCpuRatio, IQuantity windowSize, int sampledThreads)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.io
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.io with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
SocketReadRule. READ_INFO_LIMIT
static TypedPreference<IQuantity>
FileReadRule. READ_WARNING_LIMIT
static TypedPreference<IQuantity>
SocketReadRule. READ_WARNING_LIMIT
static TypedPreference<IQuantity>
SocketWriteRule. WRITE_INFO_LIMIT
static TypedPreference<IQuantity>
FileWriteRule. WRITE_WARNING_LIMIT
static TypedPreference<IQuantity>
SocketWriteRule. WRITE_WARNING_LIMIT
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.io with parameters of type IQuantity Modifier and Type Method Description private Result
SocketReadRule. evaluate(IItemCollection items, IQuantity infoLimit, IQuantity warningLimit)
private Result
SocketWriteRule. evaluate(IItemCollection items, IQuantity infoLimit, IQuantity warningLimit)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.latency
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.latency declared as IQuantity Modifier and Type Field Description (package private) IQuantity
MethodProfilingRule.MethodProfilingWindowResult. ratioOfActualSamples
(package private) IQuantity
MethodProfilingRule.MethodProfilingWindowResult. ratioOfAllPossibleSamples
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.latency with type parameters of type IQuantity Modifier and Type Field Description static TypedPreference<IQuantity>
ContextSwitchRule. CONTEXT_SWITCH_WARNING_LIMIT
static TypedPreference<IQuantity>
BiasedLockingRevocationPauseRule. INFO_LIMIT
private static IAggregator<IQuantity,?>
ContextSwitchRule. MAX_BLOCKS
static TypedPreference<IQuantity>
BiasedLockingRevocationRule. MAX_NUMBER_OF_CLASSES_TO_REPORT
static IAggregator<IQuantity,?>
JavaBlockingRule. MONITOR_BALANCE_BY_INSTANCE
static IAggregator<IQuantity,?>
JavaBlockingRule. MONITOR_BALANCE_BY_THREAD
private java.util.List<Pair<IQuantity,IQuantity>>
MethodProfilingRule.PeriodRangeMap. settingPairs
private java.util.List<Pair<IQuantity,IQuantity>>
MethodProfilingRule.PeriodRangeMap. settingPairs
static TypedPreference<IQuantity>
BiasedLockingRevocationRule. WARNING_LIMIT
static TypedPreference<IQuantity>
VMOperationRule. WARNING_LIMIT
(package private) IRange<IQuantity>
MethodProfilingRule.MethodProfilingWindowResult. window
static TypedPreference<IQuantity>
MethodProfilingRule. WINDOW_SIZE
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.latency that return IQuantity Modifier and Type Method Description (package private) IQuantity
MethodProfilingRule.PeriodRangeMap. getSetting(IQuantity timestamp)
Gets the execution sample period that is in effect for the given timestamp.private IQuantity
MethodProfilingRule. getValueQuantity(java.lang.String settingValue)
Used to parse the value of a Recording Setting Period attributeMethods in org.openjdk.jmc.flightrecorder.rules.jdk.latency with parameters of type IQuantity Modifier and Type Method 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<Result> 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.private Result
VMOperationRule. evaluate(IItemCollection items, IQuantity warningLimit)
(package private) IQuantity
MethodProfilingRule.PeriodRangeMap. getSetting(IQuantity timestamp)
Gets the execution sample period that is in effect for the given timestamp.Constructors in org.openjdk.jmc.flightrecorder.rules.jdk.latency with parameters of type IQuantity Constructor Description MethodProfilingWindowResult(IMCMethod method, IMCStackTrace path, IQuantity ratio, IQuantity actualRatio, IRange<IQuantity> window)
Constructor parameters in org.openjdk.jmc.flightrecorder.rules.jdk.latency with type arguments of type IQuantity Constructor Description MethodProfilingWindowResult(IMCMethod method, IMCStackTrace path, IQuantity ratio, IQuantity actualRatio, IRange<IQuantity> window)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.jdk.memory
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.memory declared as IQuantity Modifier and Type Field Description protected IQuantity
GcFreedRatioRule.GcInfoHolder. averageLiveset
protected IQuantity
GcFreedRatioRule.GcInfoHolder. freedPerSecond
protected IQuantity
GcFreedRatioRule.GcInfoHolder. freedPerSecondToLivesetRatio
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.memory that return IQuantity Modifier and Type Method Description private IQuantity
IncreasingLiveSetRule. getPostWarmupTime(IItemCollection items, IQuantity classesLoadedPercent)
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.memory with parameters of type IQuantity Modifier and Type Method Description private Result
StringDeduplicationRule. getAllocationRatioResult(IItemCollection items, java.lang.String stringInternalArrayType, IItemFilter stringInternalArrayTypeFilter, IQuantity stringAllocationRatioLimit, java.lang.String allocationFramesString, java.lang.String heapInfo, double heapUsedRatio, java.lang.String extraGcInfo)
private Result
GcLockerRule. getGcLockerResult(double gcLockers, double totalCcCount, IQuantity limit)
private Result
HeapInspectionRule. getHeapInspectionResult(int objectCountGCs, IItemCollection items, IQuantity limit)
private Result
StringDeduplicationRule. getLivesetRatioResult(IItemCollection items, java.lang.String stringInternalArrayType, IItemFilter stringInternalArrayTypeFilter, IQuantity averageStringSize, IQuantity stringLivesetRatioAndHeapUsageLimit, java.lang.String objectCountEventType, java.lang.String heapInfo, double heapUsedRatio, java.lang.String extraGcInfo)
private GcFreedRatioRule.GcInfoHolder
GcFreedRatioRule. getMaxFreedWindow(IItemCollection allItems, IQuantity windowSize, IQuantity slideSize)
private IQuantity
IncreasingLiveSetRule. getPostWarmupTime(IItemCollection items, IQuantity classesLoadedPercent)
private Result
SystemGcRule. getSystemGcResult(double systemGcCount, double totalCcCount, IQuantity limit)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.tree
Fields in org.openjdk.jmc.flightrecorder.rules.tree declared as IQuantity Modifier and Type Field Description IQuantity
Range. endTime
private IQuantity
TreeNode. endTime
IQuantity
Range. startTime
private IQuantity
TreeNode. startTime
Methods in org.openjdk.jmc.flightrecorder.rules.tree that return IQuantity Modifier and Type Method Description IQuantity
TreeNode. getEndTime()
IQuantity
TreeNode. getStartTime()
Methods in org.openjdk.jmc.flightrecorder.rules.tree with parameters of type IQuantity Modifier and Type Method 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)
Constructors in org.openjdk.jmc.flightrecorder.rules.tree with parameters of type IQuantity Constructor Description Range(IQuantity startTime, IQuantity endTime)
TreeNode(T item, boolean hasDuration, IQuantity startTime, IQuantity endTime, IMCThread thread)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.tree.traversal
Fields in org.openjdk.jmc.flightrecorder.rules.tree.traversal declared as IQuantity Modifier and Type Field Description private IQuantity
LayerBreakdownVisitor.LayerEntry. duration
Fields in org.openjdk.jmc.flightrecorder.rules.tree.traversal with type parameters of type IQuantity Modifier and Type Field Description private java.util.Map<IType<?>,IQuantity>
LayerBreakdownVisitor.LayerBreakdown. typeToDuration
Methods in org.openjdk.jmc.flightrecorder.rules.tree.traversal that return IQuantity Modifier and Type Method Description IQuantity
LayerBreakdownVisitor.LayerBreakdown. getDuration()
IQuantity
LayerBreakdownVisitor.LayerEntry. getDuration()
Constructors in org.openjdk.jmc.flightrecorder.rules.tree.traversal with parameters of type IQuantity Constructor Description LayerEntry(IType<?> type, IQuantity duration)
-
Uses of IQuantity in org.openjdk.jmc.flightrecorder.rules.util
Fields in org.openjdk.jmc.flightrecorder.rules.util with type parameters of type IQuantity Modifier and Type Field Description private static java.util.Comparator<IQuantity>
SlidingWindowToolkit. QUANTITY_COMPARATOR
Methods in org.openjdk.jmc.flightrecorder.rules.util that return IQuantity Modifier and Type Method 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 windowstatic IQuantity
RulesToolkit. getEndTime(IItem item)
Convenience method to get the end time value from a specific event.private static IQuantity
RulesToolkit. getItemRange(IItemCollection items)
private static IQuantity
RulesToolkit. getSettingMaxPeriod(java.lang.Iterable<java.lang.String> settingsValues)
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.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 anIQuantity
.static IQuantity
RulesToolkit. toRatioPercent(IQuantity antecedent, IQuantity consequent)
Calculates the ratio between twoIQuantity
values of compatible, linear kind and returns it represented as a percentage.Methods in org.openjdk.jmc.flightrecorder.rules.util that return types with arguments of type IQuantity Modifier and Type Method Description static Pair<IQuantity,IRange<IQuantity>>
SlidingWindowToolkit. slidingWindowUnorderedMinMaxValue(IItemCollection items, IQuantity windowSize, java.util.concurrent.FutureTask<Result> 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<Result> 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<Result> 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<Result> 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<Result> 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<Result> cancellationSupplier, SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction, java.util.Comparator<V> valueComparator, boolean max, boolean includeIntersecting)
Calculates max/min window value of items.Methods in org.openjdk.jmc.flightrecorder.rules.util with parameters of type IQuantity Modifier and Type Method Description static IQuantity
RulesToolkit. getDurationInWindow(IQuantity windowStart, IQuantity windowEnd, IItem item)
Get the duration for item within the specified windowstatic 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<Result> 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<Result> 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<Result> 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<Result> 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 twoIQuantity
values of compatible, linear kind and returns it represented as a percentage.static java.lang.String
RulesToolkit. toRatioPercentString(IQuantity antecedent, IQuantity consequent)
Same calculation asRulesToolkit.toRatioPercent(IQuantity, IQuantity)
but it returns the percentage as a string instead.void
SlidingWindowToolkit.IUnorderedWindowVisitor. visitWindow(IItemCollection items, IQuantity startTime, IQuantity endTime)
Method parameters in org.openjdk.jmc.flightrecorder.rules.util with type arguments of type IQuantity Modifier and Type Method Description 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<Result> 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<Result> cancellationSupplier, SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction, boolean max, boolean includeIntersecting)
Calculates max/min window quantity value of items.
-