public class AbstractStorageManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
base |
protected java.util.concurrent.ScheduledExecutorService |
queryExecutor |
| Constructor and Description |
|---|
AbstractStorageManager(java.io.File base) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValid()
Check if the base directory is a valid directory
|
void |
dispose() |
protected java.util.Map<java.lang.String,java.io.File> |
findStorages()
Scan the file base for valid storages
|
protected java.lang.String |
probe(java.io.File file)
Probe the directory if it is a valid storage
|
protected final java.util.concurrent.ScheduledExecutorService queryExecutor
protected final java.io.File base
public void dispose()
protected java.util.Map<java.lang.String,java.io.File> findStorages()
protected java.lang.String probe(java.io.File file)
file - the directory to probenull if it is not a valid storeprotected void checkValid()
java.lang.IllegalStateException - if the base if not valid
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