public enum MeterDesc extends Enum<MeterDesc>
Enum Constant and Description |
---|
EDGES_LOADED
Total edges loaded
|
RECEIVED_REQUESTS
Number of requests received
|
SENT_REQUESTS
Number of requests sent
|
VERTICES_LOADED
Total vertices loaded
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get name of meter
|
TimeUnit |
getTimeUnit()
Get TimeUnit of meter
|
String |
getType()
Get type of meter
|
static MeterDesc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeterDesc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterDesc RECEIVED_REQUESTS
public static final MeterDesc SENT_REQUESTS
public static final MeterDesc EDGES_LOADED
public static final MeterDesc VERTICES_LOADED
public static MeterDesc[] values()
for (MeterDesc c : MeterDesc.values()) System.out.println(c);
public static MeterDesc 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 String getName()
public TimeUnit getTimeUnit()
public String getType()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.