Class ErrorDistribution


  • public class ErrorDistribution
    extends ViewModel
    • Field Detail

      • count

        protected long count
      • errorCount

        protected long errorCount
    • Constructor Detail

      • ErrorDistribution

        public ErrorDistribution​(int customThreshold,
                                 java.lang.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​(java.lang.String message)
      • incrementByCode

        public void incrementByCode​(java.lang.String code)
      • decrementByMsg

        public void decrementByMsg​(java.lang.String message)
      • decrementByCode

        public void decrementByCode​(java.lang.String code)
      • setCountByErrorCode

        public void setCountByErrorCode​(ViewCounterMap countByErrorCode)
      • setCountByErrorMsg

        public void setCountByErrorMsg​(ViewCounterMap countByErrorMsg)