[jboss-jira] [JBoss JIRA] (WFLY-1247) graceful shutdown
Stuart Douglas (JIRA)
issues at jboss.org
Thu Apr 10 03:12:14 EDT 2014
[ https://issues.jboss.org/browse/WFLY-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12960707#comment-12960707 ]
Stuart Douglas commented on WFLY-1247:
--------------------------------------
My initial work on this is at
https://github.com/stuartwdouglas/wildfly/compare/wildfly:master...stuartwdouglas:WFLY-1247
Basically the core of it is a class called SuspendController, that manages the suspended/resumed state of the server. Subsystems can register handlers with this service that notify the controller when they are fully suspended.
There is also a service called GlobalRequestController that is what most subsystems will actually use. Basically it registers itself with the SuspendController, and provides a simple API for entry points that deal with user requests. This controller also provides a way to limit the number of active requests running at any one time.
This is all still very much a work in progress.
> graceful shutdown
> -----------------
>
> Key: WFLY-1247
> URL: https://issues.jboss.org/browse/WFLY-1247
> Project: WildFly
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Reporter: Emanuel Muckenhuber
> Assignee: Stuart Douglas
>
> We need to define a clear contract between these networking services and the services that use them in order to be able to perform a graceful shutdown of remote connectors.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list