public class SyslogNorthbounderConfig extends Object implements Serializable
Constructor and Description |
---|
SyslogNorthbounderConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addSyslogDestination(SyslogDestination syslogDestination)
Adds a specific Syslog destination.
|
Integer |
getBatchSize()
Gets the batch size.
|
List<SyslogDestination> |
getDestinations()
Gets the destinations.
|
String |
getMessageFormat()
Gets the message format.
|
Integer |
getNaglesDelay()
Gets the nagles delay.
|
Integer |
getQueueSize()
Gets the queue size.
|
SyslogDestination |
getSyslogDestination(String syslogDestinationName)
Gets a specific Syslog destination.
|
List<String> |
getUeis()
Gets the UEIs.
|
Boolean |
isEnabled()
Checks if is enabled.
|
boolean |
removeSyslogDestination(String syslogDestinationName)
Removes a specific syslog destination.
|
void |
setBatchSize(Integer batchSize)
Sets the batch size.
|
void |
setDestinations(List<SyslogDestination> destinations)
Sets the destinations.
|
void |
setEnabled(Boolean enabled)
Sets the enabled.
|
void |
setMessageFormat(String messageFormat)
Sets the message format.
|
void |
setNaglesDelay(Integer naglesDelay)
Sets the nagles delay.
|
void |
setQueueSize(Integer alarmQueueSize)
Sets the queue size.
|
void |
setUeis(List<String> ueis)
Sets the UEIs.
|
public List<SyslogDestination> getDestinations()
public void setDestinations(List<SyslogDestination> destinations)
destinations
- the new destinationspublic String getMessageFormat()
public void setMessageFormat(String messageFormat)
messageFormat
- the new message formatpublic Integer getNaglesDelay()
public void setNaglesDelay(Integer naglesDelay)
naglesDelay
- the new nagles delaypublic Integer getBatchSize()
public void setBatchSize(Integer batchSize)
batchSize
- the new batch sizepublic Integer getQueueSize()
public void setQueueSize(Integer alarmQueueSize)
alarmQueueSize
- the new queue sizepublic Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- the new enabledpublic SyslogDestination getSyslogDestination(String syslogDestinationName)
syslogDestinationName
- the Syslog destination namepublic void addSyslogDestination(SyslogDestination syslogDestination)
If there is a destination with the same name, the existing one will be overridden.
syslogDestination
- the Syslog destination objectpublic boolean removeSyslogDestination(String syslogDestinationName)
syslogDestinationName
- the Syslog destination nameCopyright © 2016. All rights reserved.