Class TcpPortChecker

  • All Implemented Interfaces:
    WaitChecker

    public class TcpPortChecker
    extends Object
    implements WaitChecker
    Check whether a given TCP port is available
    • Constructor Detail

    • Method Detail

      • check

        public boolean check()
        Specified by:
        check in interface WaitChecker
        Returns:
        true if the the check has succeed, false otherwise
      • cleanUp

        public void cleanUp()
        Description copied from interface: WaitChecker
        Cleanup hook which is called after the wait phase.
        Specified by:
        cleanUp in interface WaitChecker