public class StorageManager extends AbstractStorageManager
base, queryExecutor| Constructor and Description |
|---|
StorageManager(BundleContext context,
java.io.File base,
DataFilePool pool,
java.util.concurrent.ScheduledExecutorService executor,
java.util.concurrent.ScheduledExecutorService eventExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStorage(java.io.File storageDirectory) |
protected void |
checkBase() |
void |
dispose() |
void |
fileChanged(java.io.File storageDirectory,
java.lang.String id,
java.io.File fileChanged) |
java.lang.String |
probe(java.io.File file)
Probe the directory if it is a valid storage
|
void |
removeStorage(java.io.File storageDirectory) |
checkValid, findStoragespublic StorageManager(BundleContext context,
java.io.File base,
DataFilePool pool,
java.util.concurrent.ScheduledExecutorService executor,
java.util.concurrent.ScheduledExecutorService eventExecutor)
protected void checkBase()
public void dispose()
dispose in class AbstractStorageManagerpublic java.lang.String probe(java.io.File file)
AbstractStorageManagerprobe in class AbstractStorageManagerfile - the directory to probenull if it is not a valid storepublic void addStorage(java.io.File storageDirectory)
throws java.lang.Exception
java.lang.Exceptionpublic void removeStorage(java.io.File storageDirectory)
public void fileChanged(java.io.File storageDirectory,
java.lang.String id,
java.io.File fileChanged)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0