Class ReadinessWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>

  • All Implemented Interfaces:
    Watcher<T>

    public class ReadinessWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
    extends Object
    implements Watcher<T>
    • Constructor Detail

      • ReadinessWatcher

        public ReadinessWatcher​(T resource)
    • Method Detail

      • eventReceived

        public void eventReceived​(Watcher.Action action,
                                  T resource)
        Specified by:
        eventReceived in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
      • onClose

        public void onClose​(WatcherException e)
        Description copied from interface: Watcher
        Invoked when the watcher closes due to an Exception.
        Specified by:
        onClose in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
        Parameters:
        e - What caused the watcher to be closed.
      • await

        public T await​(long amount,
                       TimeUnit timeUnit)