Class HvlLogProcessorProperties
java.lang.Object
tr.com.havelsan.javarch.log.processor.starter.configuration.properties.HvlLogProcessorProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
@ConfigurationProperties(prefix="hvl.logger.processor")
public class HvlLogProcessorProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Properties of Log Processor used for logging.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
Gets max process size.int
Gets max retry count.Gets retry interval.Gets topic name.int
Gets worker count.void
setMaxProcessSize
(int maxProcessSize) Sets max process size.void
setMaxRetryCount
(int maxRetryCount) Sets max retry count.void
setRetryInterval
(Long retryInterval) Sets retry interval.void
setTopicName
(String topicName) Sets topic name.void
setWorkerCount
(int workerCount) Sets worker count.
-
Constructor Details
-
HvlLogProcessorProperties
public HvlLogProcessorProperties()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getTopicName
Gets topic name.- Returns:
- the topic name
-
setTopicName
Sets topic name.- Parameters:
topicName
- the topic name
-
getWorkerCount
public int getWorkerCount()Gets worker count.- Returns:
- the worker count
-
setWorkerCount
public void setWorkerCount(int workerCount) Sets worker count.- Parameters:
workerCount
- the worker count
-
getMaxRetryCount
public int getMaxRetryCount()Gets max retry count.- Returns:
- the max retry count
-
setMaxRetryCount
public void setMaxRetryCount(int maxRetryCount) Sets max retry count.- Parameters:
maxRetryCount
- the max retry count
-
getMaxProcessSize
public int getMaxProcessSize()Gets max process size.- Returns:
- the max process size
-
setMaxProcessSize
public void setMaxProcessSize(int maxProcessSize) Sets max process size.- Parameters:
maxProcessSize
- the max process size
-
getRetryInterval
Gets retry interval.- Returns:
- the retry interval
-
setRetryInterval
Sets retry interval.- Parameters:
retryInterval
- the retry interval
-