Class WaitForConditionWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
java.lang.Object
io.fabric8.kubernetes.client.dsl.base.WaitForConditionWatcher<T>
- All Implemented Interfaces:
Watcher<T>
public class WaitForConditionWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata> extends Object implements Watcher<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWaitForConditionWatcher.WatchExceptionNested classes/interfaces inherited from interface io.fabric8.kubernetes.client.Watcher
Watcher.Action -
Constructor Summary
Constructors Constructor Description WaitForConditionWatcher(Predicate<T> condition) -
Method Summary
Modifier and Type Method Description voideventReceived(Watcher.Action action, T resource)CompletableFuture<T>getFuture()voidonClose(KubernetesClientException cause)Run when the watcher finally closes.
-
Constructor Details
-
Method Details
-
getFuture
-
eventReceived
- Specified by:
eventReceivedin interfaceWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
onClose
Description copied from interface:WatcherRun when the watcher finally closes.
-