Skip navigation links

Oracle®Database JDBC Java API Reference
12c Release 1 (12.1.0.2)
E56669-01


oracle.jdbc.replay
Enum ReplayableConnection.StatisticsReportType

java.lang.Object
  extended by java.lang.Enum<ReplayableConnection.StatisticsReportType>
      extended by oracle.jdbc.replay.ReplayableConnection.StatisticsReportType

All Implemented Interfaces:
Serializable, Comparable<ReplayableConnection.StatisticsReportType>
Enclosing interface:
ReplayableConnection

public static enum ReplayableConnection.StatisticsReportType
extends Enum<ReplayableConnection.StatisticsReportType>

Statistics report type. This determines whether the statistics reported are for the current connection, or across all connections.


Enum Constant Summary
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.

 

Method Summary
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.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

FOR_CURRENT_CONNECTION

public static final ReplayableConnection.StatisticsReportType FOR_CURRENT_CONNECTION
The statistics reported are for the current connection only.

FOR_ALL_CONNECTIONS

public static final ReplayableConnection.StatisticsReportType FOR_ALL_CONNECTIONS
The statistics reported are for all connections known at the time of report generation.

Method Detail

values

public static ReplayableConnection.StatisticsReportType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReplayableConnection.StatisticsReportType c : ReplayableConnection.StatisticsReportType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReplayableConnection.StatisticsReportType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Skip navigation links

Oracle®Database JDBC Java API Reference
12c Release 1 (12.1.0.2)
E56669-01


Copyright © 2008, 2014, Oracle and/or its affiliates. All rights reserved.