Package org.opennms.netmgt.config.api
Interface EventdConfig
-
- All Known Implementing Classes:
EventdConfigBean
,EventdConfigManager
public interface EventdConfig
An interface for EventdConfigManager- Author:
- Ryan Lambeth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched.int
getBatchSize()
Messages are aggregated in batches before being dispatched.String
getGetNextEventID()
getGetNextEventIDint
getNumThreads()
Number of threads used for consuming/dispatching messages.int
getQueueLength()
getQueueLengthint
getQueueSize()
Maximum number of messages to keep in memory while waiting to be dispatched.int
getReceivers()
getReceiversint
getSocketSoTimeoutPeriod()
getSocketSoTimeoutPeriodString
getSocketSoTimeoutRequired()
getSocketsSoTimeoutRequiredString
getTCPIpAddress()
getTCPIpAddressint
getTCPPort()
getTCPPortString
getUDPIpAddress()
getUDPIpAddressint
getUDPPort()
getUDPPortboolean
hasSocketSoTimeoutPeriod()
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
-
-