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) |
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. |
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) |
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 |
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 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. |
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 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 |
---|---|
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. |
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
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.
|
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
IQuantity |
ReferenceTreeObject.getAddress() |
IQuantity |
ReferenceTreeObject.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
ReferenceTreeObject |
ReferenceTreeModel.getObject(IQuantity address) |
Modifier and Type | Method and Description |
---|---|
Collection<ReferenceTreeObject> |
ReferenceTreeModel.getRootObjects(IRange<IQuantity> timerange) |
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
RulePreferences.SHORT_RECORDING_LIMIT |
Modifier and Type | Method and Description |
---|---|
static SpanSquare |
SpanToolkit.getMaxCountCluster(IItemCollection items,
IAttribute<IQuantity> countAttribute,
IAttribute<IQuantity> timestampAttribute)
Calculates the largest count cluster.
|
static SpanSquare |
SpanToolkit.getMaxCountCluster(IItemCollection items,
IAttribute<IQuantity> countAttribute,
IAttribute<IQuantity> timestampAttribute)
Calculates the largest count cluster.
|
static SpanLimit |
SpanToolkit.getMaxSpanLimit(IItemCollection items,
IAttribute<IQuantity> valueAttribute,
IAttribute<IQuantity> endTimeAttribute,
double limit)
Calculates the longest span where the combined value still is above the limit.
|
static SpanLimit |
SpanToolkit.getMaxSpanLimit(IItemCollection items,
IAttribute<IQuantity> valueAttribute,
IAttribute<IQuantity> endTimeAttribute,
double limit)
Calculates the longest span where the combined value still is above the limit.
|
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
CodeCacheRule.CODE_CACHE_SIZE_INFO_PERCENT |
static TypedPreference<IQuantity> |
CodeCacheRule.CODE_CACHE_SIZE_WARN_PERCENT |
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
HighJvmCpuRule.JVM_CPU_INFO_LIMIT |
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 |
Modifier and Type | Field and Description |
---|---|
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.MAX_ENDTIME |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.MIN_ENDTIME |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.TOP_FRAME_BALANCE
Ready to use aggregator using the
MethodProfilingDataProvider.topFrameBalanceFunction . |
static IAggregator<IQuantity,?> |
MethodProfilingDataProvider.TOP_FRAME_QUOTA
Ready to use aggregator using the
MethodProfilingDataProvider.topFrameQuotaFunction . |
static GroupingAggregator.IQuantityListFinisher<IQuantity> |
MethodProfilingDataProvider.topFrameBalanceFunction
Function that calculates a value representing how balanced the set of top frames is as a
number in the range [0,1].
|
static GroupingAggregator.IQuantityListFinisher<IQuantity> |
MethodProfilingDataProvider.topFrameQuotaFunction
A quota calculation of how large a part the most commonly occurring top frame is of the total
amount of samples input.
|
Modifier and Type | Method and Description |
---|---|
static IQuantity |
HaltsProvider.calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
static IQuantity |
HaltsProvider.calculateGcPauseRatio(IItemCollection items)
Calculates the ratio of GC pauses to the total time.
|
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getGcPauseRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getNonGcHaltsRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getNonGcHaltsToTotalRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getSafePointRatio() |
IQuantity |
HaltsProvider.ApplicationHaltsInfoHolder.getTotalHaltsRatio() |
Modifier and Type | Method and Description |
---|---|
static SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> |
HaltsProvider.gcHaltsRatioFunction() |
static IAggregator<IQuantity,?> |
ObjectStatisticsDataProvider.getIncreaseAggregator() |
Modifier and Type | Method and Description |
---|---|
static IQuantity |
HaltsProvider.calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
Modifier and Type | Field and 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 |
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
SocketReadRule.READ_INFO_LIMIT |
static TypedPreference<IQuantity> |
SocketReadRule.READ_WARNING_LIMIT |
static TypedPreference<IQuantity> |
FileReadRule.READ_WARNING_LIMIT |
static TypedPreference<IQuantity> |
SocketWriteRule.WRITE_INFO_LIMIT |
static TypedPreference<IQuantity> |
FileWriteRule.WRITE_WARNING_LIMIT |
static TypedPreference<IQuantity> |
SocketWriteRule.WRITE_WARNING_LIMIT |
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
ContextSwitchRule.CONTEXT_SWITCH_WARNING_LIMIT |
static TypedPreference<IQuantity> |
BiasedLockingRevocationPauseRule.INFO_LIMIT |
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 |
static TypedPreference<IQuantity> |
VMOperationRule.WARNING_LIMIT |
static TypedPreference<IQuantity> |
BiasedLockingRevocationRule.WARNING_LIMIT |
static TypedPreference<IQuantity> |
MethodProfilingRule.WINDOW_SIZE |
Modifier and Type | Field and Description |
---|---|
static TypedPreference<IQuantity> |
ApplicationHaltsRule.APP_HALTS_INFO_LIMIT |
static TypedPreference<IQuantity> |
ApplicationHaltsRule.APP_HALTS_WARNING_LIMIT |
static TypedPreference<IQuantity> |
IncreasingLiveSetRule.CLASSES_LOADED_PERCENT |
static TypedPreference<IQuantity> |
GcFreedRatioRule.FEW_GCS_LIMIT |
static TypedPreference<IQuantity> |
GcLockerRule.GC_LOCKER_RATIO_LIMIT |
static TypedPreference<IQuantity> |
LongGcPauseRule.GC_PAUSE_INFO_LIMIT |
static TypedPreference<IQuantity> |
HeapInspectionRule.HEAP_INSPECTION_LIMIT |
static TypedPreference<IQuantity> |
IncreasingLiveSetRule.RELEVANCE_THRESHOLD |
static TypedPreference<IQuantity> |
SystemGcRule.SYSTEM_GC_RATIO_LIMIT |
static TypedPreference<IQuantity> |
GcFreedRatioRule.WINDOW_SIZE |
static TypedPreference<IQuantity> |
ApplicationHaltsRule.WINDOW_SIZE |
Modifier and Type | Field and Description |
---|---|
IQuantity |
Range.endTime |
IQuantity |
Range.startTime |
Modifier and Type | Method and Description |
---|---|
boolean |
Range.isAfter(IQuantity time) |
boolean |
Range.isBefore(IQuantity time) |
boolean |
Range.isInside(IQuantity time) |
Constructor and Description |
---|
Range(IQuantity startTime,
IQuantity endTime) |
Modifier and Type | Method and Description |
---|---|
IQuantity |
LayerBreakdownVisitor.LayerBreakdown.getDuration() |
IQuantity |
LayerBreakdownVisitor.LayerEntry.getDuration() |
Constructor and Description |
---|
LayerEntry(IType<?> type,
IQuantity duration) |
Modifier and Type | Method and Description |
---|---|
static IQuantity |
RulesToolkit.getDuration(IItem item)
Convenience method to get the duration value from a specific event.
|
static IQuantity |
RulesToolkit.getDurationInWindow(IQuantity windowStart,
IQuantity windowEnd,
IItem item)
Get the duration for item within the specified window
|
static IQuantity |
RulesToolkit.getEndTime(IItem item)
Convenience method to get the end time value from a specific event.
|
static IQuantity |
RulesToolkit.getSettingMaxPeriod(IItemCollection items,
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(String persistedValue)
Converts a value persisted as a string by the JVM into an
IQuantity . |
static IQuantity |
RulesToolkit.toRatioPercent(IQuantity antecedent,
IQuantity consequent)
Calculates the ratio between two
IQuantity values of compatible, linear kind and
returns it represented as a percentage. |
Modifier and Type | Method and Description |
---|---|
static Pair<IQuantity,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
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,
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,
FutureTask<Result> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
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,
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,
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,
FutureTask<Result> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
Modifier and Type | Method and Description |
---|---|
static IQuantity |
RulesToolkit.getDurationInWindow(IQuantity windowStart,
IQuantity windowEnd,
IItem item)
Get the duration for item within the specified window
|
static String |
RulesToolkit.getPeriodIfGreaterThan(IItemCollection items,
IQuantity minPeriod,
String... typeIds)
If possible, gets the longest period setting that is longer than the specified minimum period
for the given event types.
|
static 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,
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,
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,
FutureTask<Result> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
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,
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,
FutureTask<Result> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
static IQuantity |
RulesToolkit.toRatioPercent(IQuantity antecedent,
IQuantity consequent)
Calculates the ratio between two
IQuantity values of compatible, linear kind and
returns it represented as a percentage. |
static String |
RulesToolkit.toRatioPercentString(IQuantity antecedent,
IQuantity consequent)
Same calculation as
RulesToolkit.toRatioPercent(IQuantity, IQuantity) but it returns
the percentage as a string instead. |
void |
SlidingWindowToolkit.IUnorderedWindowVisitor.visitWindow(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
Modifier and Type | Method and Description |
---|---|
static double |
RulesToolkit.leastSquareMemory(Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static double |
RulesToolkit.leastSquareMemory(Iterator<? extends IItem> items,
IMemberAccessor<IQuantity,IItem> timeField,
IMemberAccessor<IQuantity,IItem> memField) |
static void |
SlidingWindowToolkit.slidingWindowOrdered(SlidingWindowToolkit.IOrderedWindowVisitor callback,
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,
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,
FutureTask<Result> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction,
boolean max,
boolean includeIntersecting)
Calculates max/min window quantity value of items.
|
Copyright © 2019. All rights reserved.