private boolean shouldSendIncrementalReport(long startTime){
    boolean isPrimary = isPrimaryServiceCached() || 
        donotDelayIncrementalBlockReports;
    boolean deleteIntervalTrigger = 
        (startTime - lastDeletedReport > anode.deletedReportInterval);
    
    // by default the report should be sent if there are any received
    // acks, or the deleteInterval has passed
    boolean sendReportDefault = pendingReceivedRequests > 0
        || deleteIntervalTrigger;
    
    if(isPrimary){
      // if talking to primary, send the report with the default
      // conditions
      return sendReportDefault;
    } else {
      // if talking to standby. send the report ONLY when the 
      // retry interval has passed in addition to the default
      // condidtions
      boolean sendIfStandby = 
          (lastBlockReceivedFailed + blockReceivedRetryInterval < startTime)
          && sendReportDefault;
      return sendIfStandby;
    }
  }
private boolean shouldSendIncrementalReport ( long startTime ) { boolean isPrimary = isPrimaryServiceCached ( ) || donotDelayIncrementalBlockReports ; boolean deleteIntervalTrigger = ( startTime - lastDeletedReport > anode . deletedReportInterval ) ; boolean sendReportDefault = pendingReceivedRequests > 0 || deleteIntervalTrigger ; if ( isPrimary ) { return sendReportDefault ; } else { boolean sendIfStandby = ( lastBlockReceivedFailed + blockReceivedRetryInterval < startTime ) && sendReportDefault ; return sendIfStandby ; } }
Checks if an incremental block report should be sent.

@param startTime
@return true if the report should be sent