Class WatcherToggle<T>
- java.lang.Object
-
- io.fabric8.kubernetes.client.utils.internal.WatcherToggle<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.Watcher
Watcher.Action
-
-
Constructor Summary
Constructors Constructor Description WatcherToggle(Watcher<T> delegate, boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
void
enable()
void
eventReceived(Watcher.Action action, T resource)
void
onClose()
void
onClose(WatcherException cause)
boolean
reconnecting()
-
-
-
Method Detail
-
disable
public void disable()
-
enable
public void enable()
-
eventReceived
public void eventReceived(Watcher.Action action, T resource)
- Specified by:
eventReceived
in interfaceWatcher<T>
-
onClose
public void onClose(WatcherException cause)
-
reconnecting
public boolean reconnecting()
- Specified by:
reconnecting
in interfaceWatcher<T>
-
-