@Component public class WorkConsumerJobImpl extends Object implements WorkConsumerJob
| Constructor and Description |
|---|
WorkConsumerJobImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Starts the consumers.
|
void |
stop()
Stops the consumers.
|
public void start()
WorkConsumerJob
Make sure you call WorkConsumerJob.stop() for a clean shutdown if you called this method.
Once stopped, this method can be used to restart the consumers.
start in interface WorkConsumerJobpublic void stop()
WorkConsumerJobstop in interface WorkConsumerJobCopyright © 2018. All rights reserved.