Serializable
, Comparable<ReplayableConnection.StatisticsReportType>
public static enum ReplayableConnection.StatisticsReportType extends Enum<ReplayableConnection.StatisticsReportType>
Enum Constant | Description |
---|---|
FOR_ALL_CONNECTIONS |
The statistics reported are for all connections known at the
time of report generation.
|
FOR_CURRENT_CONNECTION |
The statistics reported are for the current connection only.
|
Modifier and Type | Method | Description |
---|---|---|
static ReplayableConnection.StatisticsReportType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ReplayableConnection.StatisticsReportType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplayableConnection.StatisticsReportType FOR_CURRENT_CONNECTION
public static final ReplayableConnection.StatisticsReportType FOR_ALL_CONNECTIONS
public static ReplayableConnection.StatisticsReportType[] values()
for (ReplayableConnection.StatisticsReportType c : ReplayableConnection.StatisticsReportType.values()) System.out.println(c);
public static ReplayableConnection.StatisticsReportType 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 null