public long getDuplicateBatchesReceived() {
    return stats.getLong(duplicateBatchesReceivedId);
  }
Increments the number of duplicate batches received by 1.
geode-core/src/main/java/org/apache/geode/internal/cache/wan/GatewayReceiverStats.java