geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/connector/work GeronimoWorkManager.java
Date Thu, 27 Nov 2003 02:30:22 GMT
djencks     2003/11/26 18:30:22

  Modified:    modules/core/src/deploy connector-service.xml
               modules/core/src/java/org/apache/geronimo/connector/work
                        GeronimoWorkManager.java
  Log:
  Fix up modified WorkManager
  
  Revision  Changes    Path
  1.2       +7 -34     incubator-geronimo/modules/core/src/deploy/connector-service.xml
  
  Index: connector-service.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/deploy/connector-service.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- connector-service.xml	17 Nov 2003 00:46:09 -0000	1.1
  +++ connector-service.xml	27 Nov 2003 02:30:21 -0000	1.2
  @@ -7,49 +7,22 @@
       <!-- ============================================================ -->
       <mbean descriptor="org.apache.geronimo.connector.work.GeronimoWorkManager"
       	name="geronimo.jca:role=WorkManager">
  -    </mbean>
  -    
  -    <!-- ============================================================ -->
  -    <!-- Starts the Work Executor Pool in charge of the treatment of  -->
  -    <!-- synchronous works                                            -->
  -    <!-- ============================================================ -->
  -    <mbean descriptor="org.apache.geronimo.connector.work.pool.SyncWorkExecutorPool"
  -    	name="geronimo.jca:role=SynchWorkExecutorPool">
           <constructor>
  -            <arg type="int">1</arg>
  -            <arg type="int">1</arg>
  +            <arg type="int">0</arg> <!-- synchronous-->
  +            <arg type="int">10</arg>
  +            <arg type="int">0</arg> <!-- started -->
  +            <arg type="int">10</arg>
  +            <arg type="int">0</arg> <!-- scheduled -->
  +            <arg type="int">10</arg>
           </constructor>
       </mbean>
   
  -    <!-- ============================================================ -->
  -    <!-- Starts the Work Executor Pool in charge of the treatment of  -->
  -    <!-- synchronous works until the work start.                      -->
  -    <!-- ============================================================ -->
  -    <mbean descriptor="org.apache.geronimo.connector.work.pool.StartWorkExecutorPool"
  -    	name="geronimo.jca:role=StartWorkExecutorPool">
  -        <constructor>
  -            <arg type="int">1</arg>
  -            <arg type="int">1</arg>
  -        </constructor>
  -    </mbean>
  -
  -    <!-- ============================================================ -->
  -    <!-- Starts the Work Executor Pool in charge of the treatment of  -->
  -    <!-- asynchronous works.                                          -->
  -    <!-- ============================================================ -->
  -    <mbean descriptor="org.apache.geronimo.connector.work.pool.ScheduleWorkExecutorPool"
  -    	name="geronimo.jca:role=ScheduleWorkExecutorPool">
  -        <constructor>
  -            <arg type="int">1</arg>
  -            <arg type="int">1</arg>
  -        </constructor>
  -    </mbean>
   
   
       <!-- ============================================================ -->
       <!-- ============================================================ -->
       <mbean name="geronimo.transaction:role=BootstrapContext"
              descriptor="org.apache.geronimo.connector.BootstrapContext">
  -    </mbean>    
  +    </mbean>
   
   </components>
  
  
  
  1.5       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/connector/work/GeronimoWorkManager.java
  
  Index: GeronimoWorkManager.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/connector/work/GeronimoWorkManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GeronimoWorkManager.java	26 Nov 2003 02:15:32 -0000	1.4
  +++ GeronimoWorkManager.java	27 Nov 2003 02:30:21 -0000	1.5
  @@ -161,7 +161,7 @@
           startWorkExecutorPool.setMaximumPoolSize(maxSize);
       }
   
  -    public int getsSheduledThreadCount() {
  +    public int getScheduledThreadCount() {
           return scheduledWorkExecutorPool.getPoolSize();
       }
   
  
  
  

Mime
View raw message