Class HandlerProfile

java.lang.Object
top.magstar.framework.events.models.monitors.HandlerProfile

public class HandlerProfile extends Object
  • Constructor Details

  • Method Details

    • recordExecution

      public void recordExecution(long executionTimeMs, boolean success, Exception exception)
    • getHandlerInfo

      public String getHandlerInfo()
    • getTotalInvocations

      public long getTotalInvocations()
    • getAverageExecutionTime

      public double getAverageExecutionTime()
    • getErrorRate

      public double getErrorRate()
    • getRecentExceptions

      public List<Exception> getRecentExceptions()