public static interface Protos.RLimitInfo.RLimitOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getHard()
Either both are set or both are not set.
|
long |
getSoft()
optional uint64 soft = 3; |
Protos.RLimitInfo.RLimit.Type |
getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
boolean |
hasHard()
Either both are set or both are not set.
|
boolean |
hasSoft()
optional uint64 soft = 3; |
boolean |
hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
boolean hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;
Protos.RLimitInfo.RLimit.Type getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;
boolean hasHard()
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;
long getHard()
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;
boolean hasSoft()
optional uint64 soft = 3;
long getSoft()
optional uint64 soft = 3;