|
XNIO API 2.0.2.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.xnio.XnioConfiguration
public final class XnioConfiguration

A configuration for an XNIO provider.
| Constructor Summary | |
|---|---|
XnioConfiguration()
Construct an uninitialized instance. |
|
| Method Summary | |
|---|---|
java.util.concurrent.Executor |
getExecutor()
Get the default handler executor for the XNIO provider instance. |
java.util.List<javax.management.MBeanServer> |
getMBeanServers()
Get the MBeanServers that the provider should register with. |
java.lang.String |
getName()
Get the common name of the XNIO provider instance. |
OptionMap |
getOptionMap()
Get the option map associated with this configuration. |
java.util.concurrent.ThreadFactory |
getThreadFactory()
Get the thread factory to use for any created threads. |
void |
setExecutor(java.util.concurrent.Executor executor)
Set the default hander executor for the XNIO provider instance. |
void |
setMBeanServers(java.util.List<javax.management.MBeanServer> mBeanServers)
Set the MBeanServers that the provider should register with. |
void |
setName(java.lang.String name)
Set the common name of the XNIO provider instance. |
void |
setOptionMap(OptionMap optionMap)
Set the option map associated with this configuration. |
void |
setThreadFactory(java.util.concurrent.ThreadFactory threadFactory)
Set the thread factory to use for any created threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XnioConfiguration()
| Method Detail |
|---|
public java.util.List<javax.management.MBeanServer> getMBeanServers()
MBeanServers that the provider should register with. A null value indicates that
the provider should attempt autodetection, based on the value of the xnio.agentid system property.
null to indicate autodetectionpublic void setMBeanServers(java.util.List<javax.management.MBeanServer> mBeanServers)
MBeanServers that the provider should register with. A null value indicates that
the provider should attempt autodetection, based on the value of the xnio.agentid system property.
mBeanServers - the list of MBean servers, or null to indicate autodetectionpublic java.util.concurrent.ThreadFactory getThreadFactory()
public void setThreadFactory(java.util.concurrent.ThreadFactory threadFactory)
threadFactory - the thread factorypublic java.util.concurrent.Executor getExecutor()
public void setExecutor(java.util.concurrent.Executor executor)
executor - the default handler executorpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the namepublic OptionMap getOptionMap()
public void setOptionMap(OptionMap optionMap)
optionMap - the option map
|
XNIO API 2.0.2.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||