public class Vertex
extends java.lang.Object
Constructor and Description |
---|
Vertex() |
Vertex(java.lang.String n,
INode t) |
Vertex(java.lang.String name,
INode task,
int parallelism) |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguration(java.lang.String key,
java.lang.Object val) |
Config |
getConfig() |
int |
getCpu() |
int |
getMemory() |
java.lang.String |
getName() |
int |
getParallelism() |
int |
getRam() |
INode |
getTask() |
void |
setConfig(java.util.Map<java.lang.String,java.lang.Object> config) |
void |
setCpu(int cpu) |
void |
setMemory(int memory) |
void |
setParallelism(int parallelism) |
void |
setRam(int ram) |
public Vertex()
public Vertex(java.lang.String n, INode t)
public Vertex(java.lang.String name, INode task, int parallelism)
public int getRam()
public void setRam(int ram)
public INode getTask()
public Config getConfig()
public java.lang.String getName()
public int getCpu()
public int getMemory()
public int getParallelism()
public void setCpu(int cpu)
public void setMemory(int memory)
public void setParallelism(int parallelism)
public void setConfig(java.util.Map<java.lang.String,java.lang.Object> config)
public void addConfiguration(java.lang.String key, java.lang.Object val)