public class ProfileBuckets<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
T |
lessThan100ms |
T |
lessThan10ms |
T |
lessThan10s |
T |
lessThan1s |
T |
rest |
| Constructor and Description |
|---|
ProfileBuckets() |
| Modifier and Type | Method and Description |
|---|---|
T |
add(BinaryOperator<T> add) |
static void |
add(ProfileBuckets<ProfileBucket> buckets,
long time) |
static ProfileBuckets<ProfileBucket> |
create() |
<T1> ProfileBuckets<T1> |
map(Function<T,T1> fn) |
<Acc> Acc |
mapAndAdd(Function<T,Acc> fn,
BinaryOperator<Acc> add) |
String |
toString() |
public final T lessThan10ms
public final T lessThan100ms
public final T lessThan1s
public final T lessThan10s
public final T rest
public static ProfileBuckets<ProfileBucket> create()
public static void add(ProfileBuckets<ProfileBucket> buckets, long time)
public <T1> ProfileBuckets<T1> map(Function<T,T1> fn)
public T add(BinaryOperator<T> add)
public <Acc> Acc mapAndAdd(Function<T,Acc> fn, BinaryOperator<Acc> add)
Copyright © 2023. All rights reserved.