public void setReplySender(ReplySender acker) {
    this.acker = acker;
  }
Get the next bit mask position while checking that the value should not exceed given maximum
value.
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java