Package io.fabric8.kubernetes.client
Interface Watcher<T>
- All Known Implementing Classes:
ReadinessWatcher,ReflectorWatcher,WaitForConditionWatcher,WatcherToggle
public interface Watcher<T>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWatcher.Action -
Method Summary
Modifier and Type Method Description voideventReceived(Watcher.Action action, T resource)voidonClose(KubernetesClientException cause)Run when the watcher finally closes.
-
Method Details
-
eventReceived
-
onClose
Run when the watcher finally closes.- Parameters:
cause- What caused the watcher to be closed. Null means normal close.
-