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