public enum ServiceQueueChoicePolicy extends java.lang.Enum<ServiceQueueChoicePolicy>
Enum Constant and Description |
---|
SERVICE_QUEUE_CLOSEST_NON_EMPTY |
SERVICE_QUEUE_CLOSEST_STRICT |
SERVICE_QUEUE_CUSTOM |
SERVICE_QUEUE_LONGEST |
SERVICE_QUEUE_NEXT_ROUND_ROBIN |
SERVICE_QUEUE_PRIORITY |
Modifier and Type | Method and Description |
---|---|
static ServiceQueueChoicePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceQueueChoicePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_LONGEST
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_CLOSEST_STRICT
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_CLOSEST_NON_EMPTY
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_NEXT_ROUND_ROBIN
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_PRIORITY
public static final ServiceQueueChoicePolicy SERVICE_QUEUE_CUSTOM
public static ServiceQueueChoicePolicy[] values()
for (ServiceQueueChoicePolicy c : ServiceQueueChoicePolicy.values()) System.out.println(c);
public static ServiceQueueChoicePolicy 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 nullCopyright © AnyLogic North America, LLC. All Rights Reserved.