Class DevKit

java.lang.Object
com.iohao.net.framework.core.kit.DevKit

public final class DevKit extends Object
Development and performance monitoring utilities for measuring IPC latency and request processing times. Internal use only.
Since:
25.1
Author:
渔民小镇
date:
2025-11-06
  • Field Details

  • Constructor Details

    • DevKit

      public DevKit()
  • Method Details

    • requestSbeTimes

      public void requestSbeTimes(long nanoTime)
      Record SBE request encoding time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • responseSbeTimes

      public void responseSbeTimes(long nanoTime)
      Record SBE response encoding time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • ofFutureTimes

      public void ofFutureTimes(long nanoTime)
      Record future creation time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • ofFutureGetTimes

      public void ofFutureGetTimes(long nanoTime)
      Record future get time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • requestOnFragmentTimes

      public void requestOnFragmentTimes(long nanoTime)
      Record Aeron fragment receive time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • handleTimes

      public void handleTimes(long nanoTime)
      Record request handling time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • callTimes

      public void callTimes(long nanoTime)
      Record cross-logic-server call time elapsed since the given nano time.
      Parameters:
      nanoTime - the starting nano time
    • reset

      public void reset()
      Reset all collected timing data.
    • toString

      public String toString(String title, BlockingQueue<Long> times)
      Format timing data as a human-readable statistics panel.
      Parameters:
      title - the panel title
      times - the collected timing values in nanoseconds
      Returns:
      formatted statistics string