Class JobRunrElasticSearchStorageAutoConfiguration


  • @Configuration
    @ConditionalOnBean(org.elasticsearch.client.RestHighLevelClient.class)
    @AutoConfigureAfter(org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration.class)
    public class JobRunrElasticSearchStorageAutoConfiguration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jobrunr.storage.StorageProvider elasticSearchStorageProvider​(org.elasticsearch.client.RestHighLevelClient restHighLevelClient, org.jobrunr.jobs.mappers.JobMapper jobMapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobRunrElasticSearchStorageAutoConfiguration

        public JobRunrElasticSearchStorageAutoConfiguration()
    • Method Detail

      • elasticSearchStorageProvider

        @Bean(name="storageProvider",
              destroyMethod="close")
        @ConditionalOnMissingBean
        public org.jobrunr.storage.StorageProvider elasticSearchStorageProvider​(org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
                                                                                org.jobrunr.jobs.mappers.JobMapper jobMapper)