|
XNIO version 1.2.1.GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.xnio.XnioConfiguration
org.jboss.xnio.nio.NioXnioConfiguration
public final class NioXnioConfiguration

Configuration for the NIO XNIO provider. The configuration items provided here are specific to the NIO provider.
| Constructor Summary | |
|---|---|
NioXnioConfiguration()
|
|
| Method Summary | |
|---|---|
int |
getConnectSelectorThreads()
Get the number of connect selector threads. |
Executor |
getExecutor()
Get the executor to use for handler execution. |
int |
getReadSelectorThreads()
Get the number of read selector threads. |
int |
getSelectorCacheSize()
Get the size of the selector cache used for blocking I/O operations. |
ThreadFactory |
getSelectorThreadFactory()
Get the thread factory to use for selector threads. |
int |
getWriteSelectorThreads()
Get the number of write selector threads. |
void |
setConnectSelectorThreads(int connectSelectorThreads)
Set the number of connect selector threads. |
void |
setExecutor(Executor executor)
Set the executor to use for handler execution. |
void |
setReadSelectorThreads(int readSelectorThreads)
Set the number of read selector threads. |
void |
setSelectorCacheSize(int selectorCacheSize)
Set the size of the selector cache used for blocking I/O operations. |
void |
setSelectorThreadFactory(ThreadFactory selectorThreadFactory)
Set the thread factory to use for selector threads. |
void |
setWriteSelectorThreads(int writeSelectorThreads)
Set the number of read selector threads. |
| Methods inherited from class org.jboss.xnio.XnioConfiguration |
|---|
getMBeanServers, getName, setMBeanServers, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NioXnioConfiguration()
| Method Detail |
|---|
public int getReadSelectorThreads()
public void setReadSelectorThreads(int readSelectorThreads)
readSelectorThreads - the number of read selector threadspublic int getWriteSelectorThreads()
public void setWriteSelectorThreads(int writeSelectorThreads)
writeSelectorThreads - the number of write selector threadspublic int getConnectSelectorThreads()
public void setConnectSelectorThreads(int connectSelectorThreads)
connectSelectorThreads - the number of connect selector threadspublic Executor getExecutor()
public void setExecutor(Executor executor)
executor - the executorpublic ThreadFactory getSelectorThreadFactory()
public void setSelectorThreadFactory(ThreadFactory selectorThreadFactory)
selectorThreadFactory - the thread factorypublic int getSelectorCacheSize()
public void setSelectorCacheSize(int selectorCacheSize)
selectorCacheSize - the size of the selector cache
|
XNIO version 1.2.1.GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||