Github user liyinan926 commented on the pull request:

    https://github.com/apache/helix/pull/35#issuecomment-139021356
  
    @kishoreg Yes, I was actually looking at `StateTransitionHandlerFactory` 
and I thought about doing that. The problem is `shutdown` is specific to 
`TaskStateModel` but not to the general `TransitionHandler`. So in order to do 
that in `StateTransitionHandlerFactory` I need to cast `TransitionHandler` to 
`TaskStateModel` whenever appropriate, which is hard to do. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to