Class RefreshStats

    • Constructor Detail

      • RefreshStats

        public RefreshStats()
      • RefreshStats

        public RefreshStats​(StreamInput in)
      • RefreshStats

        public RefreshStats​(long total,
                            long totalTimeInMillis,
                            long externalTotal,
                            long externalTotalTimeInMillis,
                            int listeners)
    • Method Detail

      • addTotals

        public void addTotals​(RefreshStats refreshStats)
      • getTotal

        public long getTotal()
        The total number of refresh executed.
      • getExternalTotal

        public long getExternalTotal()
      • getTotalTimeInMillis

        public long getTotalTimeInMillis()
        The total time spent executing refreshes (in milliseconds).
      • getExternalTotalTimeInMillis

        public long getExternalTotalTimeInMillis()
        The total time spent executing external refreshes (in milliseconds).
      • getTotalTime

        public TimeValue getTotalTime()
        The total time refreshes have been executed.
      • getExternalTotalTime

        public TimeValue getExternalTotalTime()
        The total time external refreshes have been executed.
      • getListeners

        public int getListeners()
        The number of waiting refresh listeners.
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object