public interface ClosableTask
StreamTask, allowing the method implementer to specify
 code that will be called when the StreamTask is being shut down by the framework, providing to emit final metrics,
 clean or close resources, etc.  The close method is not guaranteed to be called in event of crash or hard kill
 of the process.| Modifier and Type | Method and Description | 
|---|---|
| void | close() |