public interface Supervisor
Modifier and Type | Method and Description |
---|---|
SupervisorReport |
getStatus() |
void |
reset(DataSourceMetadata dataSourceMetadata) |
void |
start() |
void |
stop(boolean stopGracefully) |
void start()
void stop(boolean stopGracefully)
stopGracefully
- If true, supervisor will cleanly shutdown managed tasks if possible (for example signalling
them to publish their segments and exit). The implementation may block until the tasks have
either acknowledged or completed. If false, supervisor will stop immediately and leave any
running tasks as they are.SupervisorReport getStatus()
void reset(DataSourceMetadata dataSourceMetadata)
Copyright © 2011–2017. All rights reserved.