float function ( ) { if ( this . last - this . reset == 0 ) { return 0 ; } return this . bytes / ( ( this . last - this . reset ) / 1000.0f ) ; }
get the current rate . the exchange rate is the number of bytes exchanged since the last reset and the last input . concode_field_sep Comparator<Rate> RATE_COMPARATOR concode_elem_sep long bytes concode_elem_sep long last concode_elem_sep long reset concode_elem_sep long serialVersionUID concode_field_sep void add concode_elem_sep int compare concode_elem_sep void reset concode_elem_sep int compareTo