Watcher.Action| Constructor and Description |
|---|
ReflectorWatcher(Store<T> store,
AtomicReference<String> lastSyncResourceVersion,
Runnable onClose,
Runnable onHttpGone) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(Watcher.Action action,
T resource) |
void |
onClose(KubernetesClientException exception)
Run when the watcher finally closes.
|
public void eventReceived(Watcher.Action action, T resource)
eventReceived in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>public void onClose(KubernetesClientException exception)
WatcherCopyright © 2015–2021 Red Hat. All rights reserved.