public class HttpNorthbounder extends AbstractNorthbounder
FIXME: Needs lots of work still :(
Modifier | Constructor and Description |
---|---|
protected |
HttpNorthbounder()
Instantiates a new http northbounder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(NorthboundAlarm alarm)
Accepts.
|
void |
forwardAlarms(List<NorthboundAlarm> alarms)
Forward alarms.
|
HttpNorthbounderConfig |
getConfig()
Gets the configuration.
|
void |
setConfig(HttpNorthbounderConfig config)
Sets the configuration.
|
createMapping, createSyncLostMessage, discard, getName, onAlarm, onPostStart, onPreStart, onStop, preserve, reloadConfig, run, setMaxBatchSize, setMaxPreservedAlarms, setNaglesDelay, setRetryInterval, start, stop
protected HttpNorthbounder()
public boolean accepts(NorthboundAlarm alarm)
AbstractNorthbounder
accepts
in class AbstractNorthbounder
alarm
- the alarmpublic void forwardAlarms(List<NorthboundAlarm> alarms) throws NorthbounderException
AbstractNorthbounder
forwardAlarms
in class AbstractNorthbounder
alarms
- the alarmsNorthbounderException
- the northbounder exceptionpublic HttpNorthbounderConfig getConfig()
public void setConfig(HttpNorthbounderConfig config)
config
- the new configurationCopyright © 2016. All rights reserved.