org.virtualbox_7_1
Enum MetricType

java.lang.Object
  extended by java.lang.Enum<MetricType>
      extended by org.virtualbox_7_1.MetricType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MetricType>

public enum MetricType
extends java.lang.Enum<MetricType>

Metric names Interface ID: {ADF26EDC-7E32-11EE-B962-0242AC120002}


Enum Constant Summary
CpuUtilization
          Cpu Utilization
DiskBytesRead
          Disk Bytes Read
DiskBytesWritten
          Disk Bytes Written
Invalid
          Invalid name
MemoryUtilization
          Memory Utilization
NetworksBytesIn
          Networks Bytes In
NetworksBytesOut
          Networks Bytes Out
 
Method Summary
static MetricType fromValue(long v)
           
static MetricType fromValue(java.lang.String v)
           
 int value()
           
static MetricType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetricType[] 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

Invalid

public static final MetricType Invalid
Invalid name


CpuUtilization

public static final MetricType CpuUtilization
Cpu Utilization


MemoryUtilization

public static final MetricType MemoryUtilization
Memory Utilization


DiskBytesRead

public static final MetricType DiskBytesRead
Disk Bytes Read


DiskBytesWritten

public static final MetricType DiskBytesWritten
Disk Bytes Written


NetworksBytesIn

public static final MetricType NetworksBytesIn
Networks Bytes In


NetworksBytesOut

public static final MetricType NetworksBytesOut
Networks Bytes Out

Method Detail

values

public static MetricType[] 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 (MetricType c : MetricType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MetricType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static MetricType fromValue(long v)

fromValue

public static MetricType fromValue(java.lang.String v)