activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r775058 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
Date Fri, 15 May 2009 09:02:04 GMT
Author: gtully
Date: Fri May 15 09:02:04 2009
New Revision: 775058

URL: http://svn.apache.org/viewvc?rev=775058&view=rev
Log:
allow access to selector manager instance so that number of nio channels per thread can be
configured

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java?rev=775058&r1=775057&r2=775058&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/SelectorManager.java
Fri May 15 09:02:04 2009
@@ -47,7 +47,7 @@
     private LinkedList<SelectorWorker> freeWorkers = new LinkedList<SelectorWorker>();
     private int maxChannelsPerWorker = 64;
     
-    static SelectorManager getInstance() {
+    public static SelectorManager getInstance() {
         return SINGLETON;
     }
 



Mime
View raw message