public interface ArchiveListener
| Modifier and Type | Method and Description |
|---|---|
void |
archiveEvent(JobID jobId,
AbstractEvent event)
Stores event in archive
|
void |
archiveJobevent(JobID jobId,
RecentJobEvent event)
Stores old job in archive
|
void |
archiveManagementGraph(JobID jobId,
ManagementGraph graph)
Stores old ManagementGraph in archive
|
void |
archiveNetworkTopology(JobID jobId,
NetworkTopology topology)
Stores old NetworkTopology in Archive
|
List<AbstractEvent> |
getEvents(JobID jobID)
Get all archived Events for a job
|
RecentJobEvent |
getJob(JobID JobId)
Return archived job
|
List<RecentJobEvent> |
getJobs()
Get all archived Jobs
|
long |
getJobTime(JobID jobID,
JobStatus jobStatus)
Returns the time when the status of the given job changed to jobStatus
|
ManagementGraph |
getManagementGraph(JobID jobID)
Get archived ManagementGraph for a job
|
long |
getVertexTime(JobID jobID,
ManagementVertexID jobVertexID,
ExecutionState executionState)
returns the time, when the status of the given vertex changed to executionState
|
void archiveEvent(JobID jobId, AbstractEvent event)
jobId - event - void archiveJobevent(JobID jobId, RecentJobEvent event)
jobId - event - void archiveManagementGraph(JobID jobId, ManagementGraph graph)
jobId - graph - void archiveNetworkTopology(JobID jobId, NetworkTopology topology)
jobId - topology - List<RecentJobEvent> getJobs()
RecentJobEvent getJob(JobID JobId)
JobId - ManagementGraph getManagementGraph(JobID jobID)
jobID - List<AbstractEvent> getEvents(JobID jobID)
jobID - long getJobTime(JobID jobID, JobStatus jobStatus)
jobID - jobStatus - long getVertexTime(JobID jobID, ManagementVertexID jobVertexID, ExecutionState executionState)
jobID - jobVertexID - executionState - Copyright © 2014 The Apache Software Foundation. All rights reserved.