public class StorageManager extends AbstractStorageManager
base, queryExecutor| Constructor and Description |
|---|
StorageManager(org.osgi.framework.BundleContext context,
File base,
DataFilePool pool,
ScheduledExecutorService executor,
ScheduledExecutorService eventExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStorage(File storageDirectory) |
protected void |
checkBase() |
void |
dispose() |
void |
fileChanged(File storageDirectory,
String id,
File fileChanged) |
String |
probe(File file)
Probe the directory if it is a valid storage
|
void |
removeStorage(File storageDirectory) |
checkValid, findStorages, getBase, handleBaseNotFoundpublic StorageManager(org.osgi.framework.BundleContext context,
File base,
DataFilePool pool,
ScheduledExecutorService executor,
ScheduledExecutorService eventExecutor)
protected void checkBase()
public void dispose()
dispose in class AbstractStorageManagerpublic String probe(File file)
AbstractStorageManagerprobe in class AbstractStorageManagerfile - the directory to probenull if it is not a valid storepublic void removeStorage(File storageDirectory)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.