You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2019/10/28 20:20:26 UTC

[GitHub] [cassandra] jonmeredith commented on a change in pull request #371: CASSANDRA-15277 v4

jonmeredith commented on a change in pull request #371: CASSANDRA-15277 v4
URL: https://github.com/apache/cassandra/pull/371#discussion_r339772544
 
 

 ##########
 File path: src/java/org/apache/cassandra/concurrent/LocalAwareExecutorService.java
 ##########
 @@ -62,15 +62,41 @@
      */
     int getPendingTaskCount();
 
+
+    /**
+     * Returns the number of core threads
+     *
+     * @return the number of core threads
+     */
+    int getCorePoolSize();
+
+    /**
+     * Sets the number of core threads.
+     */
+    void setCorePoolSize(int newCorePoolSize);
+
     /**
      * Returns the maximum allowed number of threads.
      *
      * @return the maximum allowed number of threads
      */
     int getMaximumPoolSize();
 
+    /**
+     * Sets the maximum allowed number of threads.
+     */
+    void setMaximumPoolSize(int newMaximumPoolSize);
+
     default int getMaxTasksQueued()
     {
         return -1;
     }
+
+    interface MaxWorkersListener
 
 Review comment:
   Good call, renamed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org