public void update ( long aStarted , long aDaemon , long aCurrent ) { current . setValueAsLong ( aCurrent ) ; started . setValueAsLong ( aStarted ) ; daemon . setValueAsLong ( aDaemon ) ; minCurrent . setValueIfLesserThanCurrentAsLong ( aCurrent ) ; maxCurrent . setValueIfGreaterThanCurrentAsLong ( aCurrent ) ; }
Called regularly by a timer updates the internal stats .