@InterfaceAudience.Public @InterfaceStability.Unstable public class ReadinessCheck extends Object implements Serializable
Constructor and Description |
---|
ReadinessCheck() |
Modifier and Type | Method and Description |
---|---|
ReadinessCheck |
artifact(Artifact artifact)
Artifact of the pluggable readiness check helper container (optional).
|
boolean |
equals(Object o) |
Artifact |
getArtifact() |
Map<String,String> |
getProperties()
A blob of key value pairs that will be used to configure the check.
|
org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum |
getType() |
int |
hashCode() |
ReadinessCheck |
properties(Map<String,String> properties) |
ReadinessCheck |
putPropsItem(String key,
String propsItem) |
void |
setArtifact(Artifact artifact) |
void |
setProperties(Map<String,String> properties) |
void |
setType(org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum type) |
String |
toString() |
ReadinessCheck |
type(org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum type)
E.g.
|
public ReadinessCheck type(org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum type)
public org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum getType()
public void setType(org.apache.hadoop.yarn.service.api.records.ReadinessCheck.TypeEnum type)
public ReadinessCheck properties(Map<String,String> properties)
public ReadinessCheck putPropsItem(String key, String propsItem)
public Map<String,String> getProperties()
public ReadinessCheck artifact(Artifact artifact)
public Artifact getArtifact()
public void setArtifact(Artifact artifact)
Copyright © 2024 Apache Software Foundation. All rights reserved.