public interface JsonArchivist
Note that all JsonArchivists that are to be used for the history server must be added
to WebRuntimeMonitor#getArchivers()
.
Modifier and Type | Method and Description |
---|---|
Collection<ArchivedJson> |
archiveJsonWithPath(AccessExecutionGraph graph)
Returns a
Collection of ArchivedJson s containing JSON responses and their respective REST URL
for a given job. |
Collection<ArchivedJson> archiveJsonWithPath(AccessExecutionGraph graph) throws IOException
Collection
of ArchivedJson
s containing JSON responses and their respective REST URL
for a given job.
The collection should contain one entry for every response that could be generated for the given job, for example one entry for each task. The REST URLs should be unique and must not contain placeholders.
graph
- AccessExecutionGraph for which the responses should be generatedIOException
- thrown if the JSON generation failsCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.