public Stats getStats ( boolean snapshot ) { synchronized ( this ) { if ( snapshot ) { _recent = _current ; _current = new Stats ( ) ; _current . maxQueueSize = _queue . size ( ) ; } return _recent ; } }
Returns a recent snapshot of runtime statistics tracked by the invoker .