mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-162) Allow the configuration of InvertedShellWrapper's thread pool
Date Sat, 05 May 2012 03:17:57 GMT

     [ https://issues.apache.org/jira/browse/SSHD-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre updated SSHD-162:
------------------------

    Attachment: SSHD-162.patch

Update patch:
- since we are not reusing the executor when it is not passed by the creator of the InvertedShellWrapper,
use a fixed thread pool of one thread instead of a cached pool
- use a NamePreservingRunnable to set the name of the Thread while running the IO pumps
                
> Allow the configuration of InvertedShellWrapper's thread pool
> -------------------------------------------------------------
>
>                 Key: SSHD-162
>                 URL: https://issues.apache.org/jira/browse/SSHD-162
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.6.0
>            Reporter: Pierre
>            Priority: Minor
>              Labels: thread
>         Attachments: SSHD-162.patch
>
>
> InvertedShellWrapper spawns a new thread for pumping the shell I/O. It would be more
flexible to allow the specification of an Executor, so that the user can customise how the
new thread is allocated (for example, to allow its allocation from a cached thread pool or
a pool with a bounded number of threads).

--
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