private final synchronized boolean _incrementTotal(int sizeInBytes)
    {
        boolean doCallback = false;

        _countTotal++;
        if (_watermarkCountHigh == _countTotal)
        {
            doCallback = true;
        }

        boolean wasBelowHighLimit = (_countTotalBytes < _watermarkBytesHigh);

        _countTotalBytes = _countTotalBytes + sizeInBytes;

        if (wasBelowHighLimit && _countTotalBytes >= _watermarkBytesHigh)
        {
            doCallback = true;
        }

        return doCallback;
    }
private final synchronized boolean _incrementTotal ( int sizeInBytes ) { boolean doCallback = false ; _countTotal ++ ; if ( _watermarkCountHigh == _countTotal ) { doCallback = true ; } boolean wasBelowHighLimit = ( _countTotalBytes < _watermarkBytesHigh ) ; _countTotalBytes = _countTotalBytes + sizeInBytes ; if ( wasBelowHighLimit && _countTotalBytes >= _watermarkBytesHigh ) { doCallback = true ; } return doCallback ; }
be done OUTSIDE of this method.