@ManagedResource public class SimpleJobExecutionMetrics extends Object implements JobExecutionMetrics
Constructor and Description |
---|
SimpleJobExecutionMetrics(JobService jobService,
String jobName) |
Modifier and Type | Method and Description |
---|---|
int |
getExecutionCount() |
int |
getFailureCount() |
double |
getLatestDuration() |
Date |
getLatestEndTime() |
long |
getLatestExecutionId() |
String |
getLatestExitCode() |
Date |
getLatestStartTime() |
String |
getLatestStatus() |
String |
getLatestStepExitDescription() |
String |
getLatestStepName() |
double |
getMaxDuration() |
double |
getMeanDuration() |
boolean |
isJobRunning() |
public SimpleJobExecutionMetrics(JobService jobService, String jobName)
public int getExecutionCount()
getExecutionCount
in interface JobExecutionMetrics
public int getFailureCount()
getFailureCount
in interface JobExecutionMetrics
public double getLatestDuration()
getLatestDuration
in interface JobExecutionMetrics
public double getMeanDuration()
getMeanDuration
in interface JobExecutionMetrics
public double getMaxDuration()
getMaxDuration
in interface JobExecutionMetrics
public Date getLatestStartTime()
getLatestStartTime
in interface JobExecutionMetrics
public Date getLatestEndTime()
getLatestEndTime
in interface JobExecutionMetrics
public String getLatestExitCode()
getLatestExitCode
in interface JobExecutionMetrics
public String getLatestStatus()
getLatestStatus
in interface JobExecutionMetrics
public long getLatestExecutionId()
getLatestExecutionId
in interface JobExecutionMetrics
public String getLatestStepExitDescription()
getLatestStepExitDescription
in interface JobExecutionMetrics
public String getLatestStepName()
getLatestStepName
in interface JobExecutionMetrics
public boolean isJobRunning()
isJobRunning
in interface JobExecutionMetrics
Copyright © 2015. All rights reserved.