alshabib | a43aa25 | 2014-10-21 21:36:41 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net.statistic; |
2 | |||||
3 | /** | ||||
4 | * Simple data repository for link load information. | ||||
5 | */ | ||||
6 | public interface Load { | ||||
7 | |||||
8 | /** | ||||
9 | * Obtain the current observed rate on a link. | ||||
10 | * @return long value | ||||
11 | */ | ||||
12 | long rate(); | ||||
13 | |||||
14 | /** | ||||
15 | * Obtain the latest counter viewed on that link. | ||||
16 | * @return long value | ||||
17 | */ | ||||
18 | long latest(); | ||||
19 | |||||
20 | } |