public class ConfigWatcher
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigWatcher.Listener |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigWatcher.Listener |
listener |
| Constructor and Description |
|---|
ConfigWatcher(java.nio.file.Path config,
ConfigWatcher.Listener listener) |
ConfigWatcher(java.lang.String config,
ConfigWatcher.Listener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isConfigPath(java.nio.file.WatchEvent<?> event) |
protected io.fabric8.kubernetes.api.model.Config |
loadConfig() |
protected java.nio.file.WatchService |
newWatchService() |
void |
run() |
protected ConfigWatcher.Listener listener
public ConfigWatcher(java.lang.String config,
ConfigWatcher.Listener listener)
public ConfigWatcher(java.nio.file.Path config,
ConfigWatcher.Listener listener)
public void run()
run in interface java.lang.Runnableprotected io.fabric8.kubernetes.api.model.Config loadConfig()
protected java.nio.file.WatchService newWatchService()
throws java.io.IOException
java.io.IOExceptionprotected boolean isConfigPath(java.nio.file.WatchEvent<?> event)