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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voideventReceived(Watcher.Action action, T resource)default voidonClose()Invoked when the watcher is gracefully closed.voidonClose(WatcherException cause)Invoked when the watcher closes due to an Exception.
-
-
-
Method Detail
-
eventReceived
void eventReceived(Watcher.Action action, T resource)
-
onClose
default void onClose()
Invoked when the watcher is gracefully closed.
-
onClose
void onClose(WatcherException cause)
Invoked when the watcher closes due to an Exception.- Parameters:
cause- What caused the watcher to be closed.
-
-