public class DispatcherConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static HawtDispatcher |
defaultDispatcher |
private int |
drains |
private boolean |
jmx |
private java.lang.String |
label |
private boolean |
profile |
private int |
threads |
| Constructor and Description |
|---|
DispatcherConfig() |
| Modifier and Type | Method and Description |
|---|---|
static Dispatcher |
create(java.lang.String name,
int threads) |
HawtDispatcher |
createDispatcher() |
static HawtDispatcher |
getDefaultDispatcher() |
int |
getDrains() |
java.lang.String |
getLabel() |
int |
getThreads() |
boolean |
isJmx() |
boolean |
isProfile() |
void |
setDrains(int drains) |
void |
setJmx(boolean jmx) |
void |
setLabel(java.lang.String name) |
void |
setProfile(boolean profile) |
void |
setThreads(int threads) |
private static HawtDispatcher defaultDispatcher
private java.lang.String label
private int threads
private boolean profile
private int drains
private boolean jmx
public static HawtDispatcher getDefaultDispatcher()
public static Dispatcher create(java.lang.String name, int threads)
public HawtDispatcher createDispatcher()
public java.lang.String getLabel()
public void setLabel(java.lang.String name)
public int getThreads()
public void setThreads(int threads)
public boolean isProfile()
public void setProfile(boolean profile)
public int getDrains()
public void setDrains(int drains)
public boolean isJmx()
public void setJmx(boolean jmx)