org.springframework.batch.admin.jmx
Interface JobExecutionMetrics

All Known Implementing Classes:
SimpleJobExecutionMetrics

public interface JobExecutionMetrics

Author:
Dave Syer

Method Summary
 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()
           
 

Method Detail

getExecutionCount

@ManagedMetric(metricType=COUNTER,
               description="Job Execution Count")
int getExecutionCount()

getFailureCount

@ManagedMetric(metricType=COUNTER,
               description="Job Execution Failure Count")
int getFailureCount()

getLatestDuration

@ManagedMetric(metricType=GAUGE,
               description="Latest Duration Milliseconds")
double getLatestDuration()

getMeanDuration

@ManagedMetric(metricType=GAUGE,
               description="Mean Duration Milliseconds")
double getMeanDuration()

getMaxDuration

@ManagedMetric(metricType=GAUGE,
               description="Max Duration Milliseconds")
double getMaxDuration()

getLatestExecutionId

@ManagedAttribute(description="Latest Job Execution ID")
long getLatestExecutionId()

getLatestStartTime

@ManagedAttribute(description="Latest Start Time")
Date getLatestStartTime()

getLatestEndTime

@ManagedAttribute(description="Latest End Time")
Date getLatestEndTime()

getLatestExitCode

@ManagedAttribute(description="Latest Exit Code")
String getLatestExitCode()

getLatestStatus

@ManagedAttribute(description="Latest Status")
String getLatestStatus()

getLatestStepExitDescription

@ManagedAttribute(description="Latest Step Execution Exit Description")
String getLatestStepExitDescription()

getLatestStepName

@ManagedAttribute(description="Latest Step Execution Step Name")
String getLatestStepName()

isJobRunning

@ManagedAttribute(description="Check if there is a Running Job Execution")
boolean isJobRunning()


Copyright © 2011. All Rights Reserved.