public class JobIdentifier extends Object
Modifier and Type | Field and Description |
---|---|
private int |
baseJobId |
private String |
clusterId |
private String |
clusterJobId |
Constructor and Description |
---|
JobIdentifier(String clusterId,
String clusterJobId)
Creates a job identifier for a job on a cluster that has
no known job in BASE.
|
JobIdentifier(String clusterId,
String clusterJobId,
int baseJobId)
Creates a job identifier for a job on a cluster that has
a known job in BASE.
|
JobIdentifier(String clusterId,
String clusterJobId,
Job baseJob)
Creates a job identifier for a job on a cluster that has
a known job in BASE.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Equality is based on the cluster id and job id only.
|
int |
getBaseJobId()
Get the corresponding job id in BASE.
|
String |
getClusterId()
Get the ID of the cluster the job is located on.
|
String |
getClusterJobId()
Get the (Open Grid Schedulre) ID of the job.
|
int |
hashCode() |
String |
toString() |
private final String clusterId
private final String clusterJobId
private final int baseJobId
public JobIdentifier(String clusterId, String clusterJobId, int baseJobId)
public JobIdentifier(String clusterId, String clusterJobId)
public String getClusterId()
public String getClusterJobId()
public int getBaseJobId()
public boolean equals(Object other)