All Implemented Interfaces:
MonitorKeys

public class PortProbe extends DefaultProbe
A probe that checks whether a container has a specified port open. This probe also performs the checks of the DefaultProbe. Additional configurable properties include: port - required port for socket connection timeout - connection timeout (default 1000)
  • Field Details

    • log

      protected static final org.slf4j.Logger log
  • Constructor Details

    • PortProbe

      public PortProbe(int port, int timeout, Map<String,String> props)
  • Method Details