Class ReflectorWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
- java.lang.Object
-
- io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.Watcher
Watcher.Action
-
-
Constructor Summary
Constructors Constructor Description ReflectorWatcher(Store<T> store, AtomicReference<String> lastSyncResourceVersion, Runnable onClose, Runnable onHttpGone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voideventReceived(Watcher.Action action, T resource)voidonClose()Invoked when the watcher is gracefully closed.voidonClose(WatcherException exception)Invoked when the watcher closes due to an Exception.
-
-
-
Method Detail
-
eventReceived
public void eventReceived(Watcher.Action action, T resource)
- Specified by:
eventReceivedin interfaceWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
onClose
public void onClose(WatcherException exception)
Description copied from interface:WatcherInvoked when the watcher closes due to an Exception.
-
-