Class ReflectorWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
java.lang.Object
io.fabric8.kubernetes.client.informers.cache.ReflectorWatcher<T>
- All Implemented Interfaces:
Watcher<T>
public class ReflectorWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata> extends Object implements Watcher<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
Modifier and Type Method Description voideventReceived(Watcher.Action action, T resource)voidonClose(KubernetesClientException exception)Run when the watcher finally closes.
-
Constructor Details
-
Method Details
-
eventReceived
- Specified by:
eventReceivedin interfaceWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
onClose
Description copied from interface:WatcherRun when the watcher finally closes.
-