public enum ConcurrentResource extends Enum<ConcurrentResource>
ConcurrentExecutor
Enum Constant and Description |
---|
CANNOT_AQUIRE_LOCK |
ERROR_AQUIRING_LOCK |
ERROR_CLOSING_CHANNEL |
ERROR_CREATING_PROGRESS |
ERROR_DURING_EXECUTION |
ERROR_RELEASING_LOCK |
FINISHED_MESSAGE |
PLEASE_WAIT_MESSAGE |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Gets the value.
|
String |
toString() |
static ConcurrentResource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrentResource ERROR_CREATING_PROGRESS
public static final ConcurrentResource ERROR_DURING_EXECUTION
public static final ConcurrentResource ERROR_AQUIRING_LOCK
public static final ConcurrentResource ERROR_RELEASING_LOCK
public static final ConcurrentResource ERROR_CLOSING_CHANNEL
public static final ConcurrentResource CANNOT_AQUIRE_LOCK
public static final ConcurrentResource FINISHED_MESSAGE
public static final ConcurrentResource PLEASE_WAIT_MESSAGE
public static ConcurrentResource[] values()
for (ConcurrentResource c : ConcurrentResource.values()) System.out.println(c);
public static ConcurrentResource 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 getValue()
public String toString()
toString
in class Enum<ConcurrentResource>
Copyright © 2010-2020 Toolsverse. All Rights Reserved.