Class BrokerStepMetrics


  • public class BrokerStepMetrics
    extends Object
    • Constructor Detail

      • BrokerStepMetrics

        public BrokerStepMetrics()
    • Method Detail

      • observeDurationForStarStep

        public void observeDurationForStarStep​(String stepName,
                                               long startupDuration)
        Meter the time to start for a single step.
        Parameters:
        stepName - the name of the step
        startupDuration - the step start duration in ms
      • observeDurationForCloseStep

        public void observeDurationForCloseStep​(String stepName,
                                                long closeDuration)
        Meter the the time to close for a single step.
        Parameters:
        stepName - the name of the step
        closeDuration - the step close duration in ms