|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse.TimelinePutError
@InterfaceAudience.Public @InterfaceStability.Unstable public static class TimelinePutResponse.TimelinePutError
A class that holds the error code for one entity.
Field Summary | |
---|---|
static int |
IO_EXCEPTION
Error code returned if an IOException is encountered when putting an entity. |
static int |
NO_START_TIME
Error code returned when no start time can be found when putting an entity. |
Constructor Summary | |
---|---|
TimelinePutResponse.TimelinePutError()
|
Method Summary | |
---|---|
String |
getEntityId()
Get the entity Id |
String |
getEntityType()
Get the entity type |
int |
getErrorCode()
Get the error code |
void |
setEntityId(String entityId)
Set the entity Id |
void |
setEntityType(String entityType)
Set the entity type |
void |
setErrorCode(int errorCode)
Set the error code to the given error code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_START_TIME
public static final int IO_EXCEPTION
Constructor Detail |
---|
public TimelinePutResponse.TimelinePutError()
Method Detail |
---|
public String getEntityId()
public void setEntityId(String entityId)
entityId
- the entity Idpublic String getEntityType()
public void setEntityType(String entityType)
entityType
- the entity typepublic int getErrorCode()
public void setErrorCode(int errorCode)
errorCode
- an error code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |