Class DBConnectionsInUseCollector

    • Constructor Detail

      • DBConnectionsInUseCollector

        public DBConnectionsInUseCollector​(java.lang.String name,
                                           java.lang.String label,
                                           java.lang.String color,
                                           HybrisDataSource ds)
    • Method Detail

      • getCurrentConnectionsInUse

        protected int getCurrentConnectionsInUse()
      • evaluateValue

        public boolean evaluateValue​(float value)
        Description copied from interface: BasicStatisticsCollector
        Evaluates the value, looking if the Value makes sense or not. Some Collectors may not work on some Operating Systems, so that we dont have to collect these data when running the platform on such a OS.
        Specified by:
        evaluateValue in interface BasicStatisticsCollector
        Parameters:
        value - Float the value that has to be checked.
        Returns:
        boolean Indicates if the value makes sense (true) or not (false).