|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ResourceBlacklistRequest
ResourceBlacklistRequest
encapsulates the list of resource-names
which should be added or removed from the blacklist of resources
for the application.
ResourceRequest
,
ApplicationMasterProtocol.allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest)
Constructor Summary | |
---|---|
ResourceBlacklistRequest()
|
Method Summary | |
---|---|
abstract List<String> |
getBlacklistAdditions()
Get the list of resource-names which should be added to the application blacklist. |
abstract List<String> |
getBlacklistRemovals()
Get the list of resource-names which should be removed from the application blacklist. |
static ResourceBlacklistRequest |
newInstance(List<String> additions,
List<String> removals)
|
abstract void |
setBlacklistAdditions(List<String> resourceNames)
Set list of resource-names which should be added to the application blacklist. |
abstract void |
setBlacklistRemovals(List<String> resourceNames)
Set list of resource-names which should be removed from the application blacklist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceBlacklistRequest()
Method Detail |
---|
@InterfaceAudience.Public @InterfaceStability.Stable public static ResourceBlacklistRequest newInstance(List<String> additions, List<String> removals)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<String> getBlacklistAdditions()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setBlacklistAdditions(List<String> resourceNames)
resourceNames
- list of resource-names which should be added to the
application blacklist@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<String> getBlacklistRemovals()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setBlacklistRemovals(List<String> resourceNames)
resourceNames
- list of resource-names which should be removed from the
application blacklist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |