@Override public boolean renewLease() { if (callable == null) { return false; } // do not return any rows, do not advance the scanner callable.setRenew(true); try { this.caller.callWithoutRetries(callable, this.scannerTimeout); return true; } catch (Exception e) { LOG.debug("scanner failed to renew lease", e); return false; } finally { callable.setRenew(false); } }
@Override public boolean renewLease() { if (callable == null) { return false; } // do not return any rows, do not advance the scanner callable.setRenew(true); try { this.caller.callWithoutRetries(callable, this.scannerTimeout); return true; } catch (Exception e) { LOG.debug("scanner failed to renew lease", e); return false; } finally { callable.setRenew(false); } }
@Override public boolean renewLease() { if (callable != null) { // do not return any rows, do not advance the scanner callable.setRenew(true); try { this.caller.callWithoutRetries(callable, this.scannerTimeout); } catch (Exception e) { return false; } finally { callable.setRenew(false); } return true; } return false; } }
@Override public boolean renewLease() { if (callable == null) { return false; } // do not return any rows, do not advance the scanner callable.setRenew(true); try { this.caller.callWithoutRetries(callable, this.scannerTimeout); return true; } catch (Exception e) { LOG.debug("scanner failed to renew lease", e); return false; } finally { callable.setRenew(false); } }