public enum Counter extends Enum<Counter>
| Enum Constant and Description | 
|---|
| BULK_RETRIES | 
| BULK_RETRIES_TOTAL_TIME_MS | 
| BULK_TOTAL | 
| BULK_TOTAL_TIME_MS | 
| BYTES_ACCEPTED | 
| BYTES_RECEIVED | 
| BYTES_RETRIED | 
| BYTES_SENT | 
| DOCS_ACCEPTED | 
| DOCS_RECEIVED | 
| DOCS_RETRIED | 
| DOCS_SENT | 
| NET_RETRIES | 
| NET_TOTAL_TIME_MS | 
| NODE_RETRIES | 
| SCROLL_TOTAL | 
| SCROLL_TOTAL_TIME_MS | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract long | get(org.elasticsearch.hadoop.rest.stats.Stats stats) | 
| static Counter | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Counter[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Counter BYTES_SENT
public static final Counter DOCS_SENT
public static final Counter BYTES_ACCEPTED
public static final Counter DOCS_ACCEPTED
public static final Counter DOCS_RETRIED
public static final Counter BYTES_RETRIED
public static final Counter BYTES_RECEIVED
public static final Counter DOCS_RECEIVED
public static final Counter BULK_TOTAL
public static final Counter BULK_RETRIES
public static final Counter NODE_RETRIES
public static final Counter NET_RETRIES
public static final Counter NET_TOTAL_TIME_MS
public static final Counter BULK_TOTAL_TIME_MS
public static final Counter BULK_RETRIES_TOTAL_TIME_MS
public static final Counter SCROLL_TOTAL
public static final Counter SCROLL_TOTAL_TIME_MS
public static Counter[] values()
for (Counter c : Counter.values()) System.out.println(c);
public static Counter 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 abstract long get(org.elasticsearch.hadoop.rest.stats.Stats stats)