@ConditionalOnProperty(value="batch.metrics.enabled") @Configuration public class MetricsConfiguration extends Object implements ListenerProvider
| Constructor and Description |
|---|
MetricsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BatchMetricsImpl |
batchMetrics() |
ReaderProcessorWriterMetricsAspect |
batchMetricsAspects() |
Set<org.springframework.batch.core.JobExecutionListener> |
jobExecutionListeners()
Returns a set of JobExecutionListeners that will be added to each Job.
|
MetricsListener |
metricsListener() |
Set<org.springframework.batch.core.StepExecutionListener> |
stepExecutionListeners()
Returns a set of StepExecutionListeners that will be added to each Job.
|
@Bean public BatchMetricsImpl batchMetrics()
@ConditionalOnProperty(value="batch.metrics.profiling.readprocesswrite.enabled") @Bean public ReaderProcessorWriterMetricsAspect batchMetricsAspects()
@Bean public MetricsListener metricsListener()
public Set<org.springframework.batch.core.JobExecutionListener> jobExecutionListeners()
ListenerProviderjobExecutionListeners in interface ListenerProviderpublic Set<org.springframework.batch.core.StepExecutionListener> stepExecutionListeners()
ListenerProviderstepExecutionListeners in interface ListenerProviderCopyright © 2016. All Rights Reserved.