private static ResultOrException getResultOrException(final ResultOrException.Builder builder,
    final int index) {
    return builder.setIndex(index).build();
  }
Instantiated as a scanner lease. If the lease times out, the scanner is closed
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java