public static enum QueueStats.StatDef extends Enum<QueueStats.StatDef>
| Enum Constant and Description |
|---|
DEQUEUED
Number of dequeued items.
|
EMPTY
Number of empty queue accesses.
|
ENQUEUE_AVERAGE_SIZE |
ENQUEUE_LAST_SIZE |
ENQUEUE_MAX_SIZE |
ENQUEUE_MIN_SIZE |
ENQUEUED
Number of enqueued items.
|
FULL
Number of queue full status.
|
REQUESTS
Requests to the queue.
|
TOTAL_SIZE
The total size of the queue.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStatLabel() |
String |
getStatName() |
static List<String> |
getStatNames() |
static QueueStats.StatDef |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueueStats.StatDef[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueueStats.StatDef REQUESTS
public static final QueueStats.StatDef ENQUEUED
public static final QueueStats.StatDef DEQUEUED
public static final QueueStats.StatDef FULL
public static final QueueStats.StatDef EMPTY
public static final QueueStats.StatDef TOTAL_SIZE
public static final QueueStats.StatDef ENQUEUE_LAST_SIZE
public static final QueueStats.StatDef ENQUEUE_MIN_SIZE
public static final QueueStats.StatDef ENQUEUE_MAX_SIZE
public static final QueueStats.StatDef ENQUEUE_AVERAGE_SIZE
public static QueueStats.StatDef[] values()
for (QueueStats.StatDef c : QueueStats.StatDef.values()) System.out.println(c);
public static QueueStats.StatDef 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 getStatName()
public String getStatLabel()
Copyright © 2010-2017 anotheria.net. All Rights Reserved.