public static enum QueueStats.StatDef extends java.lang.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 |
|---|---|
java.lang.String |
getStatLabel() |
java.lang.String |
getStatName() |
static java.util.List<java.lang.String> |
getStatNames() |
static QueueStats.StatDef |
valueOf(java.lang.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(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 java.lang.String getStatName()
public java.lang.String getStatLabel()
public static java.util.List<java.lang.String> getStatNames()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.