public class TaskConstraints extends Object
Constructor and Description |
---|
TaskConstraints() |
Modifier and Type | Method and Description |
---|---|
Integer |
maxTaskRetryCount()
Get the maxTaskRetryCount value.
|
org.joda.time.Period |
maxWallClockTime()
Get the maxWallClockTime value.
|
org.joda.time.Period |
retentionTime()
Get the retentionTime value.
|
TaskConstraints |
withMaxTaskRetryCount(Integer maxTaskRetryCount)
Set the maxTaskRetryCount value.
|
TaskConstraints |
withMaxWallClockTime(org.joda.time.Period maxWallClockTime)
Set the maxWallClockTime value.
|
TaskConstraints |
withRetentionTime(org.joda.time.Period retentionTime)
Set the retentionTime value.
|
public org.joda.time.Period maxWallClockTime()
public TaskConstraints withMaxWallClockTime(org.joda.time.Period maxWallClockTime)
maxWallClockTime
- the maxWallClockTime value to setpublic org.joda.time.Period retentionTime()
public TaskConstraints withRetentionTime(org.joda.time.Period retentionTime)
retentionTime
- the retentionTime value to setpublic Integer maxTaskRetryCount()
public TaskConstraints withMaxTaskRetryCount(Integer maxTaskRetryCount)
maxTaskRetryCount
- the maxTaskRetryCount value to setCopyright © 2019. All rights reserved.