|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.support.compat.ResourceCompat
public class ResourceCompat
Compat class for Resource.
| Constructor Summary | |
|---|---|
ResourceCompat()
|
|
| Method Summary | |
|---|---|
static void |
setVirtualCores(org.apache.hadoop.yarn.api.records.Resource resource,
int vCores)
Invokes Resource.setVirtualCores(int). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceCompat()
| Method Detail |
|---|
public static void setVirtualCores(org.apache.hadoop.yarn.api.records.Resource resource,
int vCores)
Resource.setVirtualCores(int).
resource - the target objectvCores - the vCores
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||