public class BaseWatcher extends Object
| Constructor and Description |
|---|
BaseWatcher(StorageManager storageManager,
File base) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStorage(String id,
File file)
Add a new storage that was found
|
protected void |
addWatcherMap(Path path,
org.eclipse.scada.hd.server.storage.slave.hds.BaseWatcher.StorageWatcher watcher) |
void |
dispose() |
void |
removeStorage(String id,
File file)
Remove a storage that was registered earlier
|
protected void |
removeWatcherMap(Path path) |
protected void |
runWatcher() |
public BaseWatcher(StorageManager storageManager, File base) throws IOException
IOExceptionprotected void addWatcherMap(Path path, org.eclipse.scada.hd.server.storage.slave.hds.BaseWatcher.StorageWatcher watcher)
protected void removeWatcherMap(Path path)
protected void addStorage(String id, File file) throws Exception
id - the ID of the storagefile - the base directory of the storageExceptionpublic void removeStorage(String id, File file)
id - the ID of the storage to removefile - public void dispose()
Copyright © 2015 Eclipse SCADA Project. All rights reserved.