Interface IProcessingUnitStatistic

  • All Known Implementing Classes:
    ProcessingUnitStatistic

    public interface IProcessingUnitStatistic
    The processing unit statistic
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.github.toolarium.common.statistic.StatisticCounter get​(java.lang.String key)
      Gets the statistic counter
      boolean hasKey​(java.lang.String key)
      Test if a key is defined or not
      boolean isEmpty()
      Check if the statistic if empty
      java.util.Set<java.lang.String> keySet()
      Returns the statistic key set
      int size()
      Get the size of the statistic elements
    • Method Detail

      • keySet

        java.util.Set<java.lang.String> keySet()
        Returns the statistic key set
        Returns:
        the key set
      • hasKey

        boolean hasKey​(java.lang.String key)
        Test if a key is defined or not
        Parameters:
        key - the key
        Returns:
        true if it exist
      • get

        com.github.toolarium.common.statistic.StatisticCounter get​(java.lang.String key)
        Gets the statistic counter
        Parameters:
        key - the statistic key
        Returns:
        the value if it was set; otherwise null
      • isEmpty

        boolean isEmpty()
        Check if the statistic if empty
        Returns:
        true if it is empty
      • size

        int size()
        Get the size of the statistic elements
        Returns:
        the size