update the load balancing status . concode_field_sep int lbfactor concode_elem_sep int elected concode_elem_sep int lbstatus concode_elem_sep int oldelected concode_field_sep void elected concode_elem_sep int getLbStatus concode_elem_sep int getElectedDiff concode_elem_sep int getElected concode_elem_sep void updateLoad concode_elem_sep int getLbFactor
boolean function ( ) { int loc0 = this . elected ; int loc1 = this . oldelected ; int loc2 = this . lbfactor ; if ( loc2 > 0 ) { this . lbstatus = ( ( loc0 - loc1 ) * 1000 ) / loc2 ; } this . oldelected = loc0 ; return loc0 != loc1 ; }