public enum Lanes extends Enum<Lanes>
Enum Constant and Description |
---|
LANES |
Modifier and Type | Field and Description |
---|---|
(package private) Lane<String,ExecutorService>[] |
jetLanes |
(package private) int |
numOfCores |
(package private) String |
serverCores |
Modifier and Type | Method and Description |
---|---|
Lane<String,ExecutorService>[] |
getJetLanes() |
int |
getNumOfCores() |
static Lanes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lanes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lanes LANES
final String serverCores
final int numOfCores
final Lane<String,ExecutorService>[] jetLanes
public static Lanes[] values()
for (Lanes c : Lanes.values()) System.out.println(c);
public static Lanes 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 Lane<String,ExecutorService>[] getJetLanes()
public int getNumOfCores()
Copyright © 2013. All Rights Reserved.