public ThrottledMemQueueStatHelper getSerialQueueHelper() {
    return new ThrottledMemQueueStatHelper() {
      @Override
      public void incThrottleCount() {
        incSerialQueueThrottleCount();
      }

      @Override
      public void throttleTime(long nanos) {
        incSerialQueueThrottleTime(nanos);
      }

      @Override
      public void add() {
        incSerialQueueSize(1);
      }

      @Override
      public void remove() {
        incSerialQueueSize(-1);
      }

      @Override
      public void remove(long count) {
        incSerialQueueSize(-count);
      }

      @Override
      public void addMem(long amount) {
        incSerialQueueBytes(amount);
      }

      @Override
      public void removeMem(long amount) {
        incSerialQueueBytes(amount * (-1));
      }
    };
  }
Returns a helper object so that the serial queue can record its stats to the proper
distribution stats.

@since GemFire 3.5
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionStats.java