private int calcRetry() {
    return (retryTimeout / PartitionedRegionHelper.DEFAULT_WAIT_PER_RETRY_ITERATION) + 1;
  }
Calculate the number of times we attempt to commumnicate with a data store. Beware that this
method is called very frequently so it absolutely must perform well.

@return the number of times to attempt to communicate with a data store
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java