Class ErrorDistribution


  • public class ErrorDistribution
    extends ViewModel
    • Field Detail

      • count

        protected long count
      • errorCount

        protected long errorCount
    • Constructor Detail

      • ErrorDistribution

        public ErrorDistribution​(int customThreshold,
                                 String defaultKey)
    • Method Detail

      • getCount

        public long getCount()
      • setCount

        public void setCount​(long count)
      • getErrorCount

        public long getErrorCount()
      • setErrorCount

        public void setErrorCount​(long errorCount)
      • incrementByMsg

        public void incrementByMsg​(String message)
      • incrementByCode

        public void incrementByCode​(String code)
      • decrementByMsg

        public void decrementByMsg​(String message)
      • decrementByCode

        public void decrementByCode​(String code)
      • setCountByErrorCode

        public void setCountByErrorCode​(ViewCounterMap countByErrorCode)
      • setCountByErrorMsg

        public void setCountByErrorMsg​(ViewCounterMap countByErrorMsg)