public enum StatisticState extends Enum<StatisticState>
StatisticSupplier
.Enum Constant and Description |
---|
ACTIVE
Collection of the statistic has started; partial results are available
|
FINISHED
Collection of statistic has finished; final results are available.
|
PAUSED
Collection of the statistic has paused; partial results are available
|
UNAVAILABLE
Statistic is either newly-created and has not yet started or is not available.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isAvailable()
Returns whether the statistic is currently available
|
abstract boolean |
isFinished()
Returns whether collection of the statistic has finished
|
static StatisticState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatisticState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatisticState UNAVAILABLE
public static final StatisticState ACTIVE
public static final StatisticState PAUSED
public static final StatisticState FINISHED
public static StatisticState[] values()
for (StatisticState c : StatisticState.values()) System.out.println(c);
public static StatisticState 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 boolean isAvailable()
public abstract boolean isFinished()
Copyright © 2021 Actian Corporation. All rights reserved.