public class PendingAsk extends Object
PendingAsk
is the class to include minimal information of how much
resource to ask under constraints (e.g. on one host / rack / node-attributes)
, etc.Modifier and Type | Field and Description |
---|---|
static PendingAsk |
ZERO |
Constructor and Description |
---|
PendingAsk(org.apache.hadoop.yarn.api.records.Resource res,
int num) |
PendingAsk(org.apache.hadoop.yarn.api.records.ResourceSizing sizing) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
org.apache.hadoop.yarn.api.records.Resource |
getPerAllocationResource() |
String |
toString() |
public static final PendingAsk ZERO
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.