Class AbstractPingContainerMonitor

    • Constructor Detail

      • AbstractPingContainerMonitor

        public AbstractPingContainerMonitor​(Container container)
        Constructor.
        Parameters:
        container - Container to be monitored.
    • Method Detail

      • isRunning

        public boolean isRunning()
        Returns:
        true if container is running.
      • getPingUrl

        protected abstract URL getPingUrl()
        Returns:
        URL to be pinged.
      • getPortWithOffset

        protected int getPortWithOffset​(String portProperty)
        Returns port with offset.
        Parameters:
        portProperty - Port property.
        Returns:
        Port value with offset.