Class ApplicationReportSerDeser
java.lang.Object
org.apache.hadoop.yarn.service.utils.JsonSerDeser<SerializedApplicationReport>
org.apache.hadoop.yarn.service.utils.ApplicationReportSerDeser
Persistence of
SerializedApplicationReport-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoString(SerializedApplicationReport instance) Convert an instance to a JSON string -sync access to a shared ser/deser object instanceMethods inherited from class org.apache.hadoop.yarn.service.utils.JsonSerDeser
fromBytes, fromFile, fromInstance, fromJson, fromResource, fromStream, load, save, save, toJson
-
Constructor Details
-
ApplicationReportSerDeser
public ApplicationReportSerDeser()
-
-
Method Details
-
toString
public static String toString(SerializedApplicationReport instance) throws com.fasterxml.jackson.core.JsonProcessingException Convert an instance to a JSON string -sync access to a shared ser/deser object instance- Parameters:
instance- object to convert- Returns:
- a JSON string description
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- parse problems
-