grbbatch.retry()
grbbatch.retry()
此方法指示群集管理器重试失败或中止批处理的优化,将其状态转换为提交。请参考批处理状态代码部分有关详细信息。
空白 | 重试() |
示例用法:
//如果批处理失败,我们会重试它(batch.batchstatus == grb.batchstatus.failed){batch.retry();system.threading.thread.sleep(2000);batch.update();}