cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3372) Make HSHA cached threads.
Date Mon, 17 Oct 2011 22:03:10 GMT
Make HSHA cached threads.
-------------------------

                 Key: CASSANDRA-3372
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3372
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.8.8, 1.0.1
            Reporter: Vijay
            Assignee: Vijay


JDK's newCachedTP does the following.... This is simillar to ACD.CleaningThreadPool

public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) {
        return new ThreadPoolExecutor(0, Integer.MAX_VALUE,
                                      60L, TimeUnit.SECONDS,
                                      new SynchronousQueue<Runnable>(),
                                      threadFactory);
}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message