public class NCSNorthbounder extends AbstractNorthbounder
| Constructor and Description | 
|---|
| NCSNorthbounder(NCSNorthbounderConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepts(NorthboundAlarm alarm)Accepts. | 
| void | forwardAlarms(List<NorthboundAlarm> alarms)Forward alarms. | 
| NCSNorthbounderConfig | getConfig() | 
| boolean | isReady()Used to determine if the northbounder is ready to accept alarms. | 
| void | setConfig(NCSNorthbounderConfig config) | 
createMapping, createSyncLostMessage, discard, getName, onAlarm, onPostStart, onPreStart, onStop, preserve, reloadConfig, run, setMaxBatchSize, setMaxPreservedAlarms, setNaglesDelay, setRetryInterval, start, stoppublic NCSNorthbounder(NCSNorthbounderConfig config)
public boolean accepts(NorthboundAlarm alarm)
AbstractNorthbounderaccepts in class AbstractNorthbounderalarm - the alarmpublic boolean isReady()
NorthbounderNorthboundAlarms.
 This method is called once after northbounder is registered and started.
 If the status were to change sometime after, the northbounder must re-register itself.true if the northbounder is ready to accept alarms, false otherwise.public void forwardAlarms(List<NorthboundAlarm> alarms) throws NorthbounderException
AbstractNorthbounderforwardAlarms in class AbstractNorthbounderalarms - the alarmsNorthbounderException - the northbounder exceptionpublic NCSNorthbounderConfig getConfig()
public void setConfig(NCSNorthbounderConfig config)
Copyright © 2019. All rights reserved.