logback-android/src/main/java/ch/qos/logback/core/util/DefaultInvocationGate.java
@Override
    final public boolean isTooSoon(long currentTime) {
        boolean maskMatch = ((invocationCounter++) & mask) == mask;

        if (maskMatch) {
            if (currentTime < this.lowerLimitForMaskMatch) {
                increaseMask();
            }
            updateLimits(currentTime);
        } else {
            if (currentTime > this.upperLimitForNoMaskMatch) {
                decreaseMask();
                updateLimits(currentTime);
                return false;
            }
        }
        return !maskMatch;
    }
@Override
    final public boolean isTooSoon(long currentTime) {
        boolean maskMatch = ((invocationCounter++) & mask) == mask;

        if (maskMatch) {
            if (currentTime < this.lowerLimitForMaskMatch) {
                increaseMask();
            }
            updateLimits(currentTime);
        } else {
            if (currentTime > this.upperLimitForNoMaskMatch) {
                decreaseMask();
                updateLimits(currentTime);
                return false;
            }
        }
        return !maskMatch;
    }
@ Override final public boolean isTooSoon ( long currentTime ) { boolean maskMatch = ( ( invocationCounter ++ ) & mask ) == mask ; if ( maskMatch ) { if ( currentTime < this . lowerLimitForMaskMatch ) { increaseMask ( ) ; } updateLimits ( currentTime ) ; } else { if ( currentTime > this . upperLimitForNoMaskMatch ) { decreaseMask ( ) ; updateLimits ( currentTime ) ; return false ; } } return ! maskMatch ; }
/*
(non-Javadoc)

@see ch.qos.logback.core.util.InvocationGate#skipFurtherWork()
/ * ( non - Javadoc )