public enum BucketsType extends Enum<BucketsType>
| Enum Constant and Description |
|---|
EXPONENTIAL |
LINEAR |
| Modifier and Type | Method and Description |
|---|---|
abstract Buckets |
createBuckets(Stopwatch stopwatch,
long min,
long max,
int bucketNb)
Factory method to create
Buckets. |
static BucketsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketsType LINEAR
public static final BucketsType EXPONENTIAL
public static BucketsType[] values()
for (BucketsType c : BucketsType.values()) System.out.println(c);
public static BucketsType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Buckets createBuckets(Stopwatch stopwatch, long min, long max, int bucketNb)
Buckets.Copyright © 2019. All rights reserved.