public static enum Utils.WorkDistributionStrategy extends java.lang.Enum<Utils.WorkDistributionStrategy>
Enum Constant and Description |
---|
bucket
Use a grid over the cell to find the right worker
|
cluster
assign the well contacts to the worker which is most closed by
|
random
assign the well contacts randomly
|
Modifier and Type | Method and Description |
---|---|
static Utils.WorkDistributionStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Utils.WorkDistributionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.WorkDistributionStrategy cluster
public static final Utils.WorkDistributionStrategy random
public static final Utils.WorkDistributionStrategy bucket
public static Utils.WorkDistributionStrategy[] values()
for (Utils.WorkDistributionStrategy c : Utils.WorkDistributionStrategy.values()) System.out.println(c);
public static Utils.WorkDistributionStrategy 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 null