public static class SurveillanceViewService.NodeRtc extends Object
Constructor and Description |
---|
NodeRtc(OnmsNode node,
int serviceCount,
int downServiceCount,
double availability)
Constructor for instantiating instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getAvailability()
Returns the availability as a double value.
|
String |
getAvailabilityAsString()
Returns the availability as a formatted string.
|
int |
getDownServiceCount()
Returns the down services count.
|
OnmsNode |
getNode()
Returns the node instance associated with this RTC calculation.
|
int |
getServiceCount()
Returns the service count.
|
int |
hashCode() |
String |
toString() |
public NodeRtc(OnmsNode node, int serviceCount, int downServiceCount, double availability)
node
- the node to be usedserviceCount
- the service countdownServiceCount
- the service down countavailability
- the overall availabilitypublic double getAvailability()
public String getAvailabilityAsString()
public int getDownServiceCount()
public OnmsNode getNode()
public int getServiceCount()
Copyright © 2021. All rights reserved.