Modifier and Type | Class and Description |
---|---|
static class |
WaitForConditionWatcher.WatchException |
Watcher.Action
Constructor and Description |
---|
WaitForConditionWatcher(Predicate<T> condition) |
Modifier and Type | Method and Description |
---|---|
void |
eventReceived(Watcher.Action action,
T resource) |
CompletableFuture<T> |
getFuture() |
void |
onClose(KubernetesClientException cause)
Run when the watcher finally closes.
|
public CompletableFuture<T> getFuture()
public void eventReceived(Watcher.Action action, T resource)
eventReceived
in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
public void onClose(KubernetesClientException cause)
Watcher
Copyright © 2015–2021 Red Hat. All rights reserved.