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 longtrafficPeriodNumber of milliseconds between invocations of sending traffic data. 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTopoMonitor()Creates a new topo monitor base. 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetTrafficPeriod()Returns the traffic refresh period in milliseconds.static voidsetTrafficPeriod(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
 
 
 - 
 
 -