Uses of Interface
org.openjdk.jmc.common.unit.IQuantity
-
Packages that use IQuantity Package Description org.openjdk.jmc.common This package contains interfaces used in Mission Control to identify classes, methods, stack traces etc.org.openjdk.jmc.common.item This package contains theIItem
data model.org.openjdk.jmc.common.unit This package contains the data model for quantities and units.org.openjdk.jmc.common.util -
-
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
Methods in org.openjdk.jmc.common.item that return IQuantity Modifier and Type Method Description IQuantity
Aggregators.Avg. getValue(Aggregators.AvgConsumer consumer)
IQuantity
Aggregators.Stddev. getValue(Aggregators.VarianceConsumer consumer)
IQuantity
Aggregators.Sum. getValue(org.openjdk.jmc.common.item.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(String name, String description, String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(String name, String description, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(String name, String description, KindOfQuantity<?> ct, IAccessorFactory<IQuantity> af)
static IAggregator<IQuantity,?>
Aggregators. avg(String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(IAttribute<IQuantity> attribute)
static <V,C extends IItemConsumer<C>>
IAggregator<IQuantity,?>GroupingAggregator. buildMax(String name, String description, IAccessorFactory<?> keyField, IAggregator<IQuantity,C> aggregate)
static IAggregator<IQuantity,Aggregators.CountConsumer>
Aggregators. count()
static IAggregator<IQuantity,Aggregators.CountConsumer>
Aggregators. count(String name, String description)
static IAggregator<IQuantity,?>
Aggregators. count(String name, String description, IItemFilter filter)
static IAggregator<IQuantity,?>
Aggregators. count(IItemFilter filter)
static IAggregator<IQuantity,?>
Aggregators. count(IType<?> type)
static <T> IAggregator<IQuantity,?>
Aggregators. countDistinct(String name, String description, IAccessorFactory<T> attribute)
static IAggregator<IQuantity,?>
Aggregators. getQuantityAggregator(String name)
static IAggregator<IQuantity,?>
Aggregators. getQuantityAggregator(String name, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. getQuantityAggregator(String name, IType<?> type)
Set<IRange<IQuantity>>
IItemCollection. getUnfilteredTimeRanges()
Deprecated.see https://bugs.openjdk.java.net/browse/JMC-7103.static IAggregator<IQuantity,?>
Aggregators. max(String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. stddev(String name, 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.static IAggregator<IQuantity,?>
Aggregators. stddevp(String name, 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(String name, String description, String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(String name, String description, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(String name, String description, LinearKindOfQuantity ct, IAccessorFactory<IQuantity> af)
static IAggregator<IQuantity,?>
Aggregators. sum(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.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(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(String name, String description, String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(String name, String description, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(String name, String description, KindOfQuantity<?> ct, IAccessorFactory<IQuantity> af)
static IAggregator<IQuantity,?>
Aggregators. avg(String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. avg(IAttribute<IQuantity> attribute)
static <V,K,C extends IItemConsumer<C>>
IAggregator<V,?>GroupingAggregator. build(String name, String description, IAccessorFactory<K> keyField, IAggregator<IQuantity,C> a, GroupingAggregator.IQuantityListFinisher<V> groupFinisher)
static IItemCollection
ItemCollectionToolkit. build(Supplier<Stream<IItemIterable>> items, Set<IRange<IQuantity>> chunkRanges)
static <V,C extends IItemConsumer<C>>
IAggregator<IQuantity,?>GroupingAggregator. buildMax(String name, String description, IAccessorFactory<?> keyField, IAggregator<IQuantity,C> aggregate)
static IAggregator<IQuantity,?>
Aggregators. getQuantityAggregator(String name, IAttribute<IQuantity> attribute)
V
GroupingAggregator.IQuantityListFinisher. getValue(List<IQuantity> values, IQuantity total)
static IAggregator<IQuantity,?>
Aggregators. max(String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. stddev(String name, 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.static IAggregator<IQuantity,?>
Aggregators. stddevp(String name, 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(String name, String description, String typeId, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(String name, String description, IAttribute<IQuantity> attribute)
static IAggregator<IQuantity,?>
Aggregators. sum(String name, String description, LinearKindOfQuantity ct, IAccessorFactory<IQuantity> af)
static IAggregator<IQuantity,?>
Aggregators. sum(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.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(String name, String description, ContentType<IQuantity> ct)
AvgConsumer(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
.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
Fields in org.openjdk.jmc.common.unit with type parameters of type IQuantity Modifier and Type Field Description static ContentType<IRange<IQuantity>>
UnitLookup. TIMERANGE
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.static IQuantity
UnitLookup. fromDate(Date timestamp)
IQuantity
IQuantity. in(IUnit targetUnit)
Get this quantity expressed in the unittargetUnit
.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(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.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)
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)
IPersister<IQuantity>
KindOfQuantity. getPersister()
IFormatter<IRange<IQuantity>>
KindOfQuantity. getRangeFormatter(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)
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.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)
String
KindOfQuantity.ExactFormatter. format(IQuantity quantity)
String
KindOfQuantity.VerboseFormatter. format(IQuantity quantity)
String
LinearKindOfQuantity.AutoFormatter. format(IQuantity quantity)
String
LinearKindOfQuantity.DualUnitFormatter. format(IQuantity quantity)
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.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)
.static 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)
abstract U
KindOfQuantity. getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue)
LinearUnit
LinearKindOfQuantity. getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue)
String
KindOfQuantity. interactiveFormat(IQuantity value)
static QuantityConversionException
QuantityConversionException. noUnit(String badString, IQuantity prototype)
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.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.static Date
UnitLookup. toDate(IQuantity timestamp)
static QuantityConversionException
QuantityConversionException. unknownUnit(String badString, IQuantity prototype)
static QuantityConversionException
QuantityConversionException. unparsable(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)
static IRange<IQuantity>
QuantityRange. intersection(IRange<IQuantity> a, IRange<IQuantity> b)
static IRange<IQuantity>
QuantityRange. union(IRange<IQuantity> a, IRange<IQuantity> b)
Constructors in org.openjdk.jmc.common.unit with parameters of type IQuantity Constructor Description Quantity(QuantityConversionException.Problem problem, String badString, IQuantity prototype)
Quantity(QuantityConversionException.Problem problem, IQuantity badQuantity, IQuantity prototype)
-
Uses of IQuantity in org.openjdk.jmc.common.util
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, String objectDescription, IMCOldObject referrer, String field, IQuantity fieldModifier, IQuantity arraySize, IQuantity arrayIndex)
Create a new old object instance.
-