public interface StoppableTasklet extends Tasklet
Taskletinterface to allow users to add logic for stopping a tasklet. It is up to each implementation as to how the stop will behave. The only guarantee provided by the framework is that a call to
JobOperator.stop(long)will attempt to call the stop method on any currently running StoppableTasklet.
Taskletis executing within has been requested to stop.
Copyright © 2014 Pivotal. All rights reserved.