public enum ThreadHistoryUtility extends java.lang.Enum<ThreadHistoryUtility>
| Enum Constant and Description |
|---|
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
int |
getMaxEventsSize() |
java.util.List<ThreadHistoryEvent> |
getThreadHistoryEvents()
Returns the list of history events.
|
long |
getUpdateInterval() |
boolean |
isActive() |
void |
setMaxEventsSize(int maxEventsSize) |
static ThreadHistoryUtility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadHistoryUtility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadHistoryUtility INSTANCE
public static ThreadHistoryUtility[] values()
for (ThreadHistoryUtility c : ThreadHistoryUtility.values()) System.out.println(c);
public static ThreadHistoryUtility 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 boolean isActive()
public void activate()
public void deactivate()
public java.util.List<ThreadHistoryEvent> getThreadHistoryEvents()
public int getMaxEventsSize()
public void setMaxEventsSize(int maxEventsSize)
public long getUpdateInterval()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.