Class DeployerWatchdog

    • Constructor Detail

      • DeployerWatchdog

        public DeployerWatchdog​(DeployableMonitor monitor)
        Parameters:
        monitor - the monitor to use to monitor the Deployable being deployed
    • Method Detail

      • watchForAvailability

        public void watchForAvailability()
        Wait till the monitored Deployable is made available or throw an exception if the timeout period is reached. Equivalent to watch(true).
      • watchForUnavailability

        public void watchForUnavailability()
        Wait till the monitored Deployable is made unavailable or throw an exception if the timeout period is reached. Equivalent to watch(false).
      • watch

        public void watch​(boolean shouldWatchForAvailability)
        Parameters:
        shouldWatchForAvailability - if true then wait till Deployable is made available, if false wait till the Deployable is made unavailable