public enum QueuesConstant extends Enum<QueuesConstant> implements WorkerConfig
| Enum Constant and Description |
|---|
COLLECTOR |
COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getJobsQueueName() |
String |
getResultsQueueName() |
static QueuesConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueuesConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueuesConstant COLLECTOR
public static final QueuesConstant COMPARATOR
public static final String NAMESPACE
public static QueuesConstant[] values()
for (QueuesConstant c : QueuesConstant.values()) System.out.println(c);
public static QueuesConstant 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 getJobsQueueName()
getJobsQueueName in interface WorkerConfigpublic String getResultsQueueName()
getResultsQueueName in interface WorkerConfigCopyright © 2013–2019 Cognifide. All rights reserved.