Package org.onosproject.ui.topo
Class AbstractTopoMonitor
- java.lang.Object
-
- org.onosproject.ui.topo.AbstractTopoMonitor
-
public class AbstractTopoMonitor extends Object
Base class for the business logic of topology overlay "monitors".
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
trafficPeriod
Number of milliseconds between invocations of sending traffic data.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTopoMonitor()
Creates a new topo monitor base.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getTrafficPeriod()
Returns the traffic refresh period in milliseconds.static void
setTrafficPeriod(long ms)
Sets the traffic refresh period in milliseconds.
-
-
-
Method Detail
-
setTrafficPeriod
public static void setTrafficPeriod(long ms)
Sets the traffic refresh period in milliseconds.- Parameters:
ms
- refresh rate in millis
-
getTrafficPeriod
public static long getTrafficPeriod()
Returns the traffic refresh period in milliseconds.- Returns:
- refresh rate in millis
-
-