Class RefreshStats

    • Constructor Detail

      • RefreshStats

        public RefreshStats()
      • RefreshStats

        public RefreshStats​(StreamInput in)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • 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)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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