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()
Invoked when the watcher is gracefully closed.
|
void |
onClose(WatcherException cause)
Invoked when the watcher closes due to an Exception.
|
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(WatcherException cause)
Watcher
Copyright © 2015–2020 Red Hat. All rights reserved.