Watcher.Action| Constructor and Description |
|---|
ReflectorWatcher(Store<T> store,
AtomicReference<String> lastSyncResourceVersion,
Runnable onHttpGone) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(Watcher.Action action,
T resource) |
void |
onClose()
Invoked when the watcher is gracefully closed.
|
void |
onClose(WatcherException exception)
Invoked when the watcher closes due to an Exception.
|
boolean |
reconnecting()
If the Watcher can reconnect itself after an error
|
public ReflectorWatcher(Store<T> store, AtomicReference<String> lastSyncResourceVersion, Runnable onHttpGone)
public void eventReceived(Watcher.Action action, T resource)
eventReceived in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>public void onClose(WatcherException exception)
Watcherpublic void onClose()
Watcherpublic boolean reconnecting()
Watcherreconnecting in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>Copyright © 2015–2022 Red Hat. All rights reserved.