[ 
https://issues.apache.org/jira/browse/HELIX-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207707#comment-14207707
 ] 

Hudson commented on HELIX-537:
------------------------------

FAILURE: Integrated in helix #1302 (See 
[https://builds.apache.org/job/helix/1302/])
[HELIX-537] Shutdown executors (kanak.b: rev 
e96ea8e20e6a2ceff0a6fbf915d96257137ccda3)
* 
helix-core/src/main/java/org/apache/helix/messaging/handling/HelixTaskExecutor.java
* helix-core/src/main/java/org/apache/helix/task/TaskStateModel.java


> org.apache.helix.task.TaskStateModel should have a shutdown method.
> -------------------------------------------------------------------
>
>                 Key: HELIX-537
>                 URL: https://issues.apache.org/jira/browse/HELIX-537
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>    Affects Versions: 0.6.3
>            Reporter: Antony T Curtis
>            Priority: Blocker
>
> There should be a shutdown method to terminate the Timer and Executor which 
> the org.apache.helix.task.TaskStateModel class creates.
> ie.
> {noformat}
> public boolean shutdown(long timeout, TimeUnit unit)
>   throws InterruptedException
> {
>   reset();
>   _taskExecutor.shutdown();
>   _timer.cancel();
>   return _taskExecutor.awaitTermination(timeout, unit);
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to