mirror of https://github.com/apache/activemq.git
allow access to selector manager instance so that number of nio channels per thread can be configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1421317bd2
commit
5414e76a85
|
@ -47,7 +47,7 @@ public final class SelectorManager {
|
||||||
private LinkedList<SelectorWorker> freeWorkers = new LinkedList<SelectorWorker>();
|
private LinkedList<SelectorWorker> freeWorkers = new LinkedList<SelectorWorker>();
|
||||||
private int maxChannelsPerWorker = 64;
|
private int maxChannelsPerWorker = 64;
|
||||||
|
|
||||||
static SelectorManager getInstance() {
|
public static SelectorManager getInstance() {
|
||||||
return SINGLETON;
|
return SINGLETON;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue