public enum ServerThreadingStrategy extends Enum<ServerThreadingStrategy>
| Enum Constant and Description |
|---|
CONCURRENT |
MULTI_THREADED_BUSY_WAITING |
SINGLE_THREADED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
static ServerThreadingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerThreadingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerThreadingStrategy SINGLE_THREADED
public static final ServerThreadingStrategy CONCURRENT
public static final ServerThreadingStrategy MULTI_THREADED_BUSY_WAITING
public static ServerThreadingStrategy[] values()
for (ServerThreadingStrategy c : ServerThreadingStrategy.values()) System.out.println(c);
public static ServerThreadingStrategy 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 getDescription()
Copyright © 2017. All rights reserved.