public class ReadinessWatcher<T extends HasMetadata> extends java.lang.Object implements Watcher<T>
Watcher.Action
Constructor and Description |
---|
ReadinessWatcher(T resource) |
Modifier and Type | Method and Description |
---|---|
T |
await(long amount,
java.util.concurrent.TimeUnit timeUnit) |
void |
eventReceived(Watcher.Action action,
T resource) |
void |
onClose(KubernetesClientException e)
Run when the watcher finally closes.
|
public ReadinessWatcher(T resource)
public void eventReceived(Watcher.Action action, T resource)
eventReceived
in interface Watcher<T extends HasMetadata>
public void onClose(KubernetesClientException e)
Watcher
onClose
in interface Watcher<T extends HasMetadata>
e
- What caused the watcher to be closed. Null means normal close.public T await(long amount, java.util.concurrent.TimeUnit timeUnit)
Copyright © 2015-2019 Red Hat. All Rights Reserved.