org.springframework.batch.admin.jmx
Class SimpleStepExecutionMetrics

java.lang.Object
  extended by org.springframework.batch.admin.jmx.SimpleStepExecutionMetrics
All Implemented Interfaces:
StepExecutionMetrics

@ManagedResource
public class SimpleStepExecutionMetrics
extends Object
implements StepExecutionMetrics


Constructor Summary
SimpleStepExecutionMetrics(JobService jobService, String jobName, String stepName)
           
 
Method Summary
 int getExecutionCount()
           
 int getFailureCount()
           
 int getLatestCommitCount()
           
 double getLatestDuration()
           
 long getLatestExecutionId()
           
 String getLatestExitCode()
           
 String getLatestExitDescription()
           
 int getLatestFilterCount()
           
 int getLatestReadCount()
           
 int getLatestRollbackCount()
           
 int getLatestSkipCount()
           
 String getLatestStatus()
           
 int getLatestWriteCount()
           
 double getMaxDuration()
           
 double getMeanDuration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleStepExecutionMetrics

public SimpleStepExecutionMetrics(JobService jobService,
                                  String jobName,
                                  String stepName)
Method Detail

getExecutionCount

public int getExecutionCount()
Specified by:
getExecutionCount in interface StepExecutionMetrics

getFailureCount

public int getFailureCount()
Specified by:
getFailureCount in interface StepExecutionMetrics

getLatestDuration

public double getLatestDuration()
Specified by:
getLatestDuration in interface StepExecutionMetrics

getMeanDuration

public double getMeanDuration()
Specified by:
getMeanDuration in interface StepExecutionMetrics

getMaxDuration

public double getMaxDuration()
Specified by:
getMaxDuration in interface StepExecutionMetrics

getLatestReadCount

public int getLatestReadCount()
Specified by:
getLatestReadCount in interface StepExecutionMetrics

getLatestWriteCount

public int getLatestWriteCount()
Specified by:
getLatestWriteCount in interface StepExecutionMetrics

getLatestFilterCount

public int getLatestFilterCount()
Specified by:
getLatestFilterCount in interface StepExecutionMetrics

getLatestSkipCount

public int getLatestSkipCount()
Specified by:
getLatestSkipCount in interface StepExecutionMetrics

getLatestCommitCount

public int getLatestCommitCount()
Specified by:
getLatestCommitCount in interface StepExecutionMetrics

getLatestRollbackCount

public int getLatestRollbackCount()
Specified by:
getLatestRollbackCount in interface StepExecutionMetrics

getLatestExecutionId

public long getLatestExecutionId()
Specified by:
getLatestExecutionId in interface StepExecutionMetrics

getLatestStatus

public String getLatestStatus()
Specified by:
getLatestStatus in interface StepExecutionMetrics

getLatestExitCode

public String getLatestExitCode()
Specified by:
getLatestExitCode in interface StepExecutionMetrics

getLatestExitDescription

public String getLatestExitDescription()
Specified by:
getLatestExitDescription in interface StepExecutionMetrics


Copyright © 2011. All Rights Reserved.