public Duration getMaxDuration() {
    return maxDuration;
  }
Termination after a fixed duration.
@return maximum duration without success before giving up the operation or null if not set.
samza-api/src/main/java/org/apache/samza/table/retry/TableRetryPolicy.java