public interface BarrierResponder
Modifier and Type | Method and Description |
---|---|
void |
allArrived(JobMasterAPI.BarrierType barrierType)
this method is invoked when all workers arrived at the barrier
all workers shall be released from the barrier
|
void |
barrierFailed(JobMasterAPI.BarrierType barrierType,
JobMasterAPI.BarrierResult result)
this method is called when the barrier failed
all waiting workers shall be released with a failure message
|
void allArrived(JobMasterAPI.BarrierType barrierType)
void barrierFailed(JobMasterAPI.BarrierType barrierType, JobMasterAPI.BarrierResult result)