Class LowResourceMonitor.MaxConnectionsLowResourceCheck

  • Enclosing class:
    LowResourceMonitor

    @ManagedObject("Check max allowed connections on connectors")
    public class LowResourceMonitor.MaxConnectionsLowResourceCheck
    extends Object
    • Constructor Detail

      • MaxConnectionsLowResourceCheck

        public MaxConnectionsLowResourceCheck​(int maxConnections)
    • Method Detail

      • getMaxConnections

        @ManagedAttribute("The maximum connections allowed for the monitored connectors before low resource handling is activated")
        @Deprecated
        public int getMaxConnections()
        Deprecated.
        Replaced by ConnectionLimit
        Returns:
        The maximum connections allowed for the monitored connectors before low resource handling is activated
      • setMaxConnections

        @Deprecated
        public void setMaxConnections​(int maxConnections)
        Deprecated.
        Replaced by ConnectionLimit
        Parameters:
        maxConnections - The maximum connections before low resources state is triggered
      • isLowOnResources

        public boolean isLowOnResources()
      • getReason

        public String getReason()