ElasticsearchAppenderProperties.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.yihu.base.es.properties;
  2. /**
  3. * Created by chenweida on 2018/2/24.
  4. */
  5. public class ElasticsearchAppenderProperties {
  6. //es相关的配置
  7. private ElasticsearchProperties elasticsearchProperties = new ElasticsearchProperties();
  8. //缓存区相关的配置
  9. private BufferProperties bufferProperties = new BufferProperties();
  10. //日志相关配置
  11. private MessageProperties messageProperties = new MessageProperties();
  12. public ElasticsearchProperties getElasticsearchProperties() {
  13. return elasticsearchProperties;
  14. }
  15. public void setElasticsearchProperties(ElasticsearchProperties elasticsearchProperties) {
  16. this.elasticsearchProperties = elasticsearchProperties;
  17. }
  18. public BufferProperties getBufferProperties() {
  19. return bufferProperties;
  20. }
  21. public void setBufferProperties(BufferProperties bufferProperties) {
  22. this.bufferProperties = bufferProperties;
  23. }
  24. public MessageProperties getMessageProperties() {
  25. return messageProperties;
  26. }
  27. public void setMessageProperties(MessageProperties messageProperties) {
  28. this.messageProperties = messageProperties;
  29. }
  30. }