public interface PollOutagesConfig
PollOutagesConfig interface.
Modifier and Type | Method and Description |
---|---|
boolean |
isCurTimeInOutage(String outName)
Return if current time is part of specified outage.
|
boolean |
isInterfaceInOutage(String linterface,
String outName)
Return if interfaces is part of specified outage.
|
boolean |
isNodeIdInOutage(long lnodeid,
String outName)
Return if the node represented by the nodeid is part of specified outage.
|
boolean |
isTimeInOutage(long time,
String outName)
Return if time is part of specified outage.
|
void |
update()
update
|
boolean isNodeIdInOutage(long lnodeid, String outName)
lnodeid
- the nodeid to be checkedoutName
- the outage nameboolean isInterfaceInOutage(String linterface, String outName)
linterface
- the interface to be looked upoutName
- the outage nameboolean isCurTimeInOutage(String outName)
outName
- the outage nameboolean isTimeInOutage(long time, String outName)
time
- the time in millis to look upoutName
- the outage nameCopyright © 2017. All rights reserved.