public interface Watcher<T>
Modifier and Type | Interface and Description |
---|---|
static class |
Watcher.Action |
Modifier and Type | Method and Description |
---|---|
void |
eventReceived(Watcher.Action action,
T resource) |
void |
onClose(KubernetesClientException cause)
Run when the watcher finally closes.
|
void eventReceived(Watcher.Action action, T resource)
void onClose(KubernetesClientException cause)
cause
- What caused the watcher to be closed. Null means normal close.Copyright © 2015–2019 Red Hat. All rights reserved.