OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IntervalBucket
(Results
1 - 2
of
2
) sorted by null
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
IntervalBucket.java
36
final class
IntervalBucket
{
47
IntervalBucket
(Timestamp start, Duration duration, Aggregation aggregation, Measure measure) {
77
* Returns how much fraction of duration has passed in this
IntervalBucket
. For example, if this
81
* This
IntervalBucket
must be current, i.e. the current timestamp must be within
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
IntervalBucketTest.java
36
/** Tests for {@link
IntervalBucket
}. */
53
new
IntervalBucket
(null, MINUTE, MEAN, MEASURE_DOUBLE);
59
new
IntervalBucket
(START, null, MEAN, MEASURE_DOUBLE);
65
new
IntervalBucket
(START, NEGATIVE_TEN_SEC, MEAN, MEASURE_DOUBLE);
71
new
IntervalBucket
(START, MINUTE, null, MEASURE_DOUBLE);
77
new
IntervalBucket
(START, MINUTE, MEAN, null);
82
assertThat(new
IntervalBucket
(START, MINUTE, MEAN, MEASURE_DOUBLE).getTagValueAggregationMap())
88
assertThat(new
IntervalBucket
(START, MINUTE, MEAN, MEASURE_DOUBLE).getStart()).isEqualTo(START);
93
IntervalBucket
bucket = new
IntervalBucket
(START, MINUTE, MEAN, MEASURE_DOUBLE)
[
all
...]
Completed in 209 milliseconds