Uses of Interface
org.openjdk.jmc.common.unit.IQuantity
Packages that use IQuantity
Package
Description
This package contains interfaces used in Mission Control to identify classes, methods, stack
traces etc.
This package contains the
IItem data model.This package contains the data model for quantities and units.
-
Uses of IQuantity in org.openjdk.jmc.common
Methods in org.openjdk.jmc.common that return IQuantityModifier and TypeMethodDescriptionIMCOldObject.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 IQuantityModifier and TypeMethodDescriptionAggregators.Avg.getValue(Aggregators.AvgConsumer consumer) Aggregators.Stddev.getValue(Aggregators.VarianceConsumer consumer) Aggregators.Sum.getValue(org.openjdk.jmc.common.item.Aggregators.SumConsumer consumer) Aggregators.Variance.getValue(Aggregators.VarianceConsumer consumer) Methods in org.openjdk.jmc.common.item that return types with arguments of type IQuantityModifier and TypeMethodDescriptionstatic IAggregator<IQuantity,?> 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) Aggregators.count()static IAggregator<IQuantity,?> Aggregators.count(String name, String description, IItemFilter filter) static IAggregator<IQuantity,?> Aggregators.count(IItemFilter filter) static IAggregator<IQuantity,?> static <T> IAggregator<IQuantity,?> Aggregators.countDistinct(String name, String description, IAccessorFactory<T> attribute) static <T> IAggregator<IQuantity,?> Aggregators.getJvmPid(String typeId, IAttribute<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) 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,?> static IAggregator<IQuantity,?> Aggregators.sum(String name, String description, String typeId, IAttribute<IQuantity> attribute, Predicate<Double> predicate) 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 IQuantityModifier and TypeMethodDescriptionMethod parameters in org.openjdk.jmc.common.item with type arguments of type IQuantityModifier and TypeMethodDescriptionstatic IAggregator<IQuantity,?> 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 IItemCollectionItemCollectionToolkit.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) 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,?> static IAggregator<IQuantity,?> Aggregators.sum(String name, String description, String typeId, IAttribute<IQuantity> attribute, Predicate<Double> predicate) 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 IQuantityModifierConstructorDescriptionAvg(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.unitModifier and TypeInterfaceDescriptioninterfaceITypedQuantity<U extends TypedUnit<U>>Type parameterized extension ofIQuantity.Fields in org.openjdk.jmc.common.unit declared as IQuantityModifier and TypeFieldDescriptionprotected final IQuantityQuantityConversionException.Quantity.badQuantityprotected final IQuantityQuantityConversionException.Quantity.prototypeFields in org.openjdk.jmc.common.unit with type parameters of type IQuantityModifier and TypeFieldDescriptionstatic final ContentType<IRange<IQuantity>>UnitLookup.TIMERANGEMethods in org.openjdk.jmc.common.unit with type parameters of type IQuantityModifier and TypeMethodDescriptionstatic <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 IQuantityModifier and TypeMethodDescriptionReturns a new quantity that is the arithmetic sum of this quantity andaddend, if such an operation is defined for this kind of quantity.static IQuantityGet this quantity expressed in the unittargetUnit.IQuantity.multiply(double factor) Returns a new quantity that is this quantity multiplied withfactor, if this is a linear quantity.IQuantity.multiply(long factor) Returns a new quantity that is this quantity multiplied withfactor, if this is a linear quantity.static IQuantityIUnit.quantity(double numericalValue) Create a quantity expressed in this unit and with a numerical quantity value equal tonumericalValue.IUnit.quantity(long numericalValue) Create a quantity expressed in this unit and with a numerical quantity value equal tonumericalValue.Create a quantity expressed in this unit and with a numerical quantity value equal tonumericalValue.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 IQuantityModifier and TypeMethodDescriptionKindOfQuantity.combine(IConstraint<?> other) QuantityRange.createPoint(IQuantity start) QuantityRange.createWithEnd(IQuantity start, IQuantity end) QuantityRange.createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent) <M> IMemberAccessor<M,IQuantity> KindOfQuantity.getAccessor(IAccessorKey<M> attribute) KindOfQuantity.getFirstBucket(IQuantity start, IQuantity end, double maxBuckets) Divide the given range into at mostmaxBuckets"naturally" aligned buckets, and return the first one.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.LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) KindOfQuantity.getPersister()KindOfQuantity.getRangeFormatter(String formatHint) Temporary helper to format quantity ranges.QuantityRange.intersection(IRange<IQuantity> a, IRange<IQuantity> b) Methods in org.openjdk.jmc.common.unit with parameters of type IQuantityModifier and TypeMethodDescriptionReturns a new quantity that is the arithmetic sum of this quantity andaddend, if such an operation is defined for this kind of quantity.static IDisplayableQuantityRange.createInfinite(IQuantity start, IQuantity end) QuantityRange.createPoint(IQuantity start) QuantityRange.createWithEnd(IQuantity start, IQuantity end) QuantityRange.createWithExtent(IQuantity start, ITypedQuantity<LinearUnit> extent) IIncrementalFormatter.formatAdjacent(IQuantity previous, IQuantity current) Return a string representation ofcurrentthat is minimalistic, yet includes sufficient context so that a human can deduce its full value, given that a sufficient representation ofpreviousis presented immediately ahead.IIncrementalFormatter.formatContext(IQuantity firstPresented) Return a string context that can be presented ahead of presentingfirstPresentedso that the latter can be presented with a minimalistic representation usingformatChange(firstPresented, firstPresented).static StringLinearKindOfQuantity.AutoFormatter.formatInUnit(IQuantity quantity, LinearUnit customUnit, int nominalValueDigits) KindOfQuantity.getFirstBucket(IQuantity start, IQuantity end, double maxBuckets) Divide the given range into at mostmaxBuckets"naturally" aligned buckets, and return the first one.abstract UKindOfQuantity.getLargestExactUnit(IQuantity quantity) Get the largest unit, if any, in which this quantity can be expressed exactly, typically with an integer.LinearKindOfQuantity.getLargestExactUnit(IQuantity quantity) abstract UKindOfQuantity.getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue) LinearKindOfQuantity.getPreferredUnit(IQuantity quantity, double minNumericalValue, double maxNumericalValue) KindOfQuantity.interactiveFormat(IQuantity value) static QuantityConversionExceptionstatic IQuantityKindOfQuantity.persistableString(IQuantity value) doubleCompute the ratio of this quantity to the givenconsequentquantity, if both are of the same linear kind.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 Datestatic QuantityConversionExceptionQuantityConversionException.unknownUnit(String badString, IQuantity prototype) static QuantityConversionExceptionQuantityConversionException.unparsable(String badString, IQuantity prototype) booleanMethod parameters in org.openjdk.jmc.common.unit with type arguments of type IQuantityModifier and TypeMethodDescriptionabstract 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.LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) QuantityRange.intersection(IRange<IQuantity> a, IRange<IQuantity> b) Constructors in org.openjdk.jmc.common.unit with parameters of type IQuantityModifierConstructorDescriptionQuantity(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 IQuantityMethods in org.openjdk.jmc.common.util that return types with arguments of type IQuantityModifier and TypeMethodDescriptionstatic <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 IQuantityModifier and TypeMethodDescriptionstatic <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 IQuantityModifierConstructorDescriptionMCOldObject(IQuantity address, IMCType type, String objectDescription, IMCOldObject referrer, String field, IQuantity fieldModifier, IQuantity arraySize, IQuantity arrayIndex) Create a new old object instance.