TaskConstraints.withRetentionTime(Period retentionTime) 方法

定义

Set the default is 7 days, i.e. the task directory will be retained for 7 days unless the compute node is removed or the job is deleted.

public TaskConstraints withRetentionTime(Period retentionTime)

参数

retentionTime
Period

the retentionTime value to set

返回

the TaskConstraints object itself.

适用于