Package org.opennms.netmgt.config.api
Interface EventdConfig
-
- All Known Implementing Classes:
EventdConfigBean,EventdConfigManager
public interface EventdConfigAn interface for EventdConfigManager- Author:
- Ryan Lambeth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBatchIntervalMs()Messages are aggregated in batches before being dispatched.intgetBatchSize()Messages are aggregated in batches before being dispatched.StringgetGetNextEventID()getGetNextEventIDintgetNumThreads()Number of threads used for consuming/dispatching messages.intgetQueueLength()getQueueLengthintgetQueueSize()Maximum number of messages to keep in memory while waiting to be dispatched.intgetReceivers()getReceiversintgetSocketSoTimeoutPeriod()getSocketSoTimeoutPeriodStringgetSocketSoTimeoutRequired()getSocketsSoTimeoutRequiredStringgetTCPIpAddress()getTCPIpAddressintgetTCPPort()getTCPPortStringgetUDPIpAddress()getUDPIpAddressintgetUDPPort()getUDPPortbooleanhasSocketSoTimeoutPeriod()hasSocketSoTimeoutPeriod
-
-
-
Method Detail
-
getTCPIpAddress
String getTCPIpAddress()
getTCPIpAddress
- Returns:
- a String
-
getTCPPort
int getTCPPort()
getTCPPort
- Returns:
- an int
-
getUDPIpAddress
String getUDPIpAddress()
getUDPIpAddress
- Returns:
- a String
-
getUDPPort
int getUDPPort()
getUDPPort
- Returns:
- an int
-
getReceivers
int getReceivers()
getReceivers
- Returns:
- an int
-
getQueueLength
int getQueueLength()
getQueueLength
- Returns:
- an int
-
getSocketSoTimeoutRequired
String getSocketSoTimeoutRequired()
getSocketsSoTimeoutRequired
- Returns:
- a String
-
getSocketSoTimeoutPeriod
int getSocketSoTimeoutPeriod()
getSocketSoTimeoutPeriod
- Returns:
- an int
-
hasSocketSoTimeoutPeriod
boolean hasSocketSoTimeoutPeriod()
hasSocketSoTimeoutPeriod
- Returns:
- a boolean
-
getGetNextEventID
String getGetNextEventID()
getGetNextEventID
- Returns:
- a String
-
getNumThreads
int getNumThreads()
Number of threads used for consuming/dispatching messages.- Returns:
- number of threads
-
getQueueSize
int getQueueSize()
Maximum number of messages to keep in memory while waiting to be dispatched.- Returns:
- queue size
-
getBatchSize
int getBatchSize()
Messages are aggregated in batches before being dispatched. When the batch reaches this size, it will be dispatched.- Returns:
- batch size
-
getBatchIntervalMs
int getBatchIntervalMs()
Messages are aggregated in batches before being dispatched. When the batch has been created for longer than this interval it will be dispatched, regardless of the size.- Returns:
- interval in ms
-
-