public class ContainerModel
extends java.lang.Object
The hierarchy for a Samza's job data model is that jobs have containers, and containers have tasks.
Constructor and Description |
---|
ContainerModel(java.lang.String id,
java.util.Map<TaskName,TaskModel> tasks) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
Returns the id for the container associated with this model.
|
java.util.Map<TaskName,TaskModel> |
getTasks()
Returns a map for all tasks in this container.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getId()
public java.util.Map<TaskName,TaskModel> getTasks()
TaskModel
s.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object