public enum CapacityType extends java.lang.Enum<CapacityType>
| Enum Constant and Description |
|---|
CPU
Constante que representa o benchmark de processamento - CPU
|
DISK_READ
Constante que representa o benchmark que mede a taxa de leitura em disco
|
DISK_WRITE
Constante que representa o benchmark que mede a taxa de leitura em disco
|
NET
Constante que representa o benchmark que mede a taxa de transferência em
rede
|
| Modifier and Type | Method and Description |
|---|---|
static CapacityType |
getType(java.lang.String type)
Método para retornar um tipo de enumeração Java a partir do nome da
enumeração obtida da idl.
|
static CapacityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapacityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapacityType CPU
public static final CapacityType DISK_READ
public static final CapacityType DISK_WRITE
public static final CapacityType NET
public static CapacityType[] values()
for (CapacityType c : CapacityType.values()) System.out.println(c);
public static CapacityType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CapacityType getType(java.lang.String type)
type - O nome da enumeração na idl.Copyright © 2015. All Rights Reserved.