public class ModuleInstanceInfo extends java.lang.Object implements RamaSerializable
Ops.MODULE_INSTANCE_INFO
Constructor and Description |
---|
ModuleInstanceInfo(java.lang.String moduleName,
java.lang.String moduleInstanceId,
int numTasks,
int replicationFactor,
java.lang.String supervisorId,
int port) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModuleInstanceId()
Returns module instance ID
|
java.lang.String |
getModuleName()
Returns name of module
|
int |
getNumTasks()
Returns number of tasks in module
|
int |
getPort()
Returns port of worker where
ModuleInstanceInfo was fetched |
int |
getReplicationFactor()
Returns replication factor of module
|
java.lang.String |
getSupervisorId()
Returns supervisor ID where
ModuleInstanceInfo was fetched |
public ModuleInstanceInfo(java.lang.String moduleName, java.lang.String moduleInstanceId, int numTasks, int replicationFactor, java.lang.String supervisorId, int port)
public java.lang.String getModuleName()
public java.lang.String getModuleInstanceId()
public int getNumTasks()
public int getReplicationFactor()
public java.lang.String getSupervisorId()
ModuleInstanceInfo
was fetchedpublic int getPort()
ModuleInstanceInfo
was fetched