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 the
IItem data model. |
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
org.openjdk.jmc.common.util |
Modifier and Type | Method and Description |
---|---|
IQuantity |
IMCOldObject.getAddress()
The address of the object, used for identity purposes.
|
Modifier and Type | Method and Description |
---|---|
IQuantity |
Aggregators.Avg.getValue(Aggregators.AvgConsumer consumer) |
IQuantity |
Aggregators.Sum.getValue(org.openjdk.jmc.common.item.Aggregators.SumConsumer consumer) |
IQuantity |
Aggregators.Variance.getValue(Aggregators.VarianceConsumer consumer) |
IQuantity |
Aggregators.Stddev.getValue(Aggregators.VarianceConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
static IAggregator<IQuantity,?> |
Aggregators.avg(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(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 name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static <V,C extends IItemConsumer<C>> |
GroupingAggregator.buildMax(String name,
String description,
IAccessorFactory<?> keyField,
IAggregator<IQuantity,C> aggregate) |
static IAggregator<IQuantity,Aggregators.CountConsumer> |
Aggregators.count() |
static IAggregator<IQuantity,?> |
Aggregators.count(IItemFilter filter) |
static IAggregator<IQuantity,?> |
Aggregators.count(IType<?> type) |
static IAggregator<IQuantity,Aggregators.CountConsumer> |
Aggregators.count(String name,
String description) |
static IAggregator<IQuantity,?> |
Aggregators.count(String name,
String description,
IItemFilter filter) |
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) |
static IAggregator<IQuantity,?> |
Aggregators.max(String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddev(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the sample 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.stddevp(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.sum(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(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 name,
String description,
String typeId,
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.
|
Modifier and Type | Method and Description |
---|---|
V |
GroupingAggregator.IQuantityListFinisher.getValue(List<IQuantity> values,
IQuantity total) |
Modifier and Type | Method and Description |
---|---|
static IAggregator<IQuantity,?> |
Aggregators.avg(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(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 name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static <V,K,C extends IItemConsumer<C>> |
GroupingAggregator.build(String name,
String description,
IAccessorFactory<K> keyField,
IAggregator<IQuantity,C> a,
GroupingAggregator.IQuantityListFinisher<V> groupFinisher) |
static <V,C extends IItemConsumer<C>> |
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(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity 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.stddevp(IAttribute<IQuantity> attribute)
Calculates the population 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.sum(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(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 name,
String description,
String typeId,
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 and Description |
---|
Avg(String name,
String description,
ContentType<IQuantity> ct) |
AvgConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
VarianceConsumer(IMemberAccessor<? extends IQuantity,IItem> accessor) |
Modifier and Type | Interface and Description |
---|---|
interface |
ITypedQuantity<U extends TypedUnit<U>>
Type parameterized extension of
IQuantity . |
Modifier and Type | Field and Description |
---|---|
protected IQuantity |
QuantityConversionException.Quantity.badQuantity |
protected IQuantity |
QuantityConversionException.Quantity.prototype |
Modifier and Type | Field and Description |
---|---|
static ContentType<IRange<IQuantity>> |
UnitLookup.TIMERANGE |
Modifier and Type | Method and Description |
---|---|
static <Q extends IQuantity> |
QuantityConversionException.belowPrecision(Q badValue,
Q precisionLimit) |
static <Q extends IQuantity> |
QuantityConversionException.tooHigh(Q badValue,
Q max) |
static <Q extends IQuantity> |
QuantityConversionException.tooLow(Q badValue,
Q min) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
IQuantity.add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity and
addend , if
such an operation is defined for this kind of quantity. |
static IQuantity |
UnitLookup.fromDate(Date timestamp)
|
IQuantity |
IQuantity.in(IUnit targetUnit)
Get this quantity expressed in the unit
targetUnit . |
IQuantity |
IQuantity.multiply(double factor)
Returns a new quantity that is this quantity multiplied with
factor , if this is a
linear quantity. |
IQuantity |
IQuantity.multiply(long factor)
Returns a new quantity that is this quantity multiplied with
factor , if this is a
linear quantity. |
IQuantity |
IUnit.quantity(double numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IUnit.quantity(long numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IUnit.quantity(Number numericalValue)
Create a quantity expressed in this unit and with a numerical quantity value equal to
numericalValue . |
IQuantity |
IQuantity.subtract(IQuantity subtrahend)
Returns a new quantity that is the arithmetic difference of this quantity and
subtrahend , if such an operation is defined for this kind of quantity. |
Modifier and Type | Method and Description |
---|---|
IConstraint<IQuantity> |
KindOfQuantity.combine(IConstraint<?> other) |
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
<M> IMemberAccessor<M,IQuantity> |
KindOfQuantity.getAccessor(IAccessorKey<M> attribute) |
IRange<IQuantity> |
KindOfQuantity.getFirstBucket(IQuantity start,
IQuantity end,
double maxBuckets)
Divide the given range into at most
maxBuckets "naturally" aligned buckets, and
return the first one. |
protected IRange<IQuantity> |
KindOfQuantity.getFirstBucket(ITypedQuantity<U> start,
ITypedQuantity<U> end,
double maxBuckets) |
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
abstract IFormatter<IQuantity> |
KindOfQuantity.getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends of
range , and consecutive equally spaced quantities. |
IPersister<IQuantity> |
KindOfQuantity.getPersister() |
IFormatter<IRange<IQuantity>> |
KindOfQuantity.getRangeFormatter(String formatHint)
Temporary helper to format quantity ranges.
|
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
IQuantity.add(IQuantity addend)
Returns a new quantity that is the arithmetic sum of this quantity and
addend , if
such an operation is defined for this kind of quantity. |
static IDisplayable |
QuantityRange.createInfinite(IQuantity start,
IQuantity end)
|
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
String |
LinearKindOfQuantity.AutoFormatter.format(IQuantity quantity) |
String |
LinearKindOfQuantity.DualUnitFormatter.format(IQuantity quantity) |
String |
KindOfQuantity.ExactFormatter.format(IQuantity quantity) |
String |
KindOfQuantity.VerboseFormatter.format(IQuantity quantity) |
String |
IIncrementalFormatter.formatAdjacent(IQuantity previous,
IQuantity current)
Return a string representation of
current that is minimalistic, yet includes
sufficient context so that a human can deduce its full value, given that a sufficient
representation of previous is presented immediately ahead. |
String |
IIncrementalFormatter.formatContext(IQuantity firstPresented)
Return a string context that can be presented ahead of presenting
firstPresented so
that the latter can be presented with a minimalistic representation using
formatChange(firstPresented, firstPresented) . |
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 most
maxBuckets "naturally" aligned buckets, and
return the first one. |
LinearUnit |
LinearKindOfQuantity.getLargestExactUnit(IQuantity quantity) |
abstract U |
KindOfQuantity.getLargestExactUnit(IQuantity quantity)
Get the largest unit, if any, in which this quantity can be expressed exactly, typically with
an integer.
|
LinearUnit |
LinearKindOfQuantity.getPreferredUnit(IQuantity quantity,
double minNumericalValue,
double maxNumericalValue) |
abstract U |
KindOfQuantity.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 given
consequent 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 and
subtrahend , 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) |
Modifier and Type | Method and Description |
---|---|
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
abstract IFormatter<IQuantity> |
KindOfQuantity.getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends of
range , and consecutive equally spaced quantities. |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
Constructor and Description |
---|
Quantity(QuantityConversionException.Problem problem,
IQuantity badQuantity,
IQuantity prototype) |
Quantity(QuantityConversionException.Problem problem,
String badString,
IQuantity prototype) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
MCOldObject.getAddress() |
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point
values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.addHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that adds half of a delta value to a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.avg(IMemberAccessor<IQuantity,T> data1,
IMemberAccessor<IQuantity,T> data2)
Create an accessor that calculates the average of the values from two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.difference(IMemberAccessor<IQuantity,T> minuend,
IMemberAccessor<IQuantity,T> subtrahend)
Create an accessor that subtracts values of one accessor from the values of another accessor.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point
values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.subtractHalfDelta(IMemberAccessor<IQuantity,T> bias,
IMemberAccessor<IQuantity,T> delta)
Create an accessor that subtracts half of a delta value from a bias value.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
static <T> IMemberAccessor<IQuantity,T> |
MemberAccessorToolkit.sum(IMemberAccessor<IQuantity,T> term1,
IMemberAccessor<IQuantity,T> term2)
Create an accessor that adds the values of two accessors.
|
Constructor and Description |
---|
MCOldObject(IQuantity address,
IMCType type,
String objectDescription,
IMCOldObject referrer,
String field,
IQuantity fieldModifier,
IQuantity arraySize,
IQuantity arrayIndex)
Create a new old object instance.
|
Copyright © 2019. All rights reserved.