类 WebApiPerfMonitor


  • public class WebApiPerfMonitor
    extends Object
    作者:
    Yun
    • 方法详细资料

      • addWebApiPerfRowData

        public void addWebApiPerfRowData​(String httpMethod,
                                         String httpPath,
                                         boolean isSuccessful,
                                         int httpResponseStatus,
                                         long httpResponseTime)
        参数:
        httpMethod -
        httpPath -
        isSuccessful -
        httpResponseStatus -
        httpResponseTime - (millisecond)
      • isEnable

        public boolean isEnable()
        Monitoring only if enable = true
      • setEnable

        public WebApiPerfMonitor setEnable​(boolean enable)
        Monitoring only if enable = true
      • getPerfDataStore

        public List<WebApiPerf> getPerfDataStore()
        Get Perf Data Store