public boolean isLoadedDataSuccessfullyRecently() {
        final Integer timeSinceLastError = getSecondsSinceLastFailedLoad();
        final Integer timeSinceLastSuccess = getSecondsSinceLastLoad();
        if (timeSinceLastSuccess == null) {
            return false; // never loaded data, so must be FAIL
        }
        if (timeSinceLastError == null) {
            return true; // no errors ever, so must be OKAY
        }
        return lastLoadWasSuccessful;
    }
public boolean isLoadedDataSuccessfullyRecently ( ) { final Integer timeSinceLastError = getSecondsSinceLastFailedLoad ( ) ; final Integer timeSinceLastSuccess = getSecondsSinceLastLoad ( ) ; if ( timeSinceLastSuccess == null ) { return false ; } if ( timeSinceLastError == null ) { return true ; } return lastLoadWasSuccessful ; }
useful for artifact-based healthchecks