Class WaitForConditionWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.WaitForConditionWatcher<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.Watcher
Watcher.Action
-
-
Constructor Summary
Constructors Constructor Description WaitForConditionWatcher(Predicate<T> condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventReceived(Watcher.Action action, T resource)
CompletableFuture<T>
getFuture()
void
onClose()
Invoked when the watcher is gracefully closed.void
onClose(WatcherException cause)
Invoked when the watcher closes due to an Exception.
-
-
-
Method Detail
-
getFuture
public CompletableFuture<T> getFuture()
-
eventReceived
public void eventReceived(Watcher.Action action, T resource)
- Specified by:
eventReceived
in interfaceWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
onClose
public void onClose(WatcherException cause)
Description copied from interface:Watcher
Invoked when the watcher closes due to an Exception.
-
-