PipelineScanner<T> scanner = null;
try {
databaseConnector = getConnector();
scanner = getPipelineScanner();
} catch (IOException e) {
throw new DatabaseException("Failed to connect to database", e);
}
DocumentReader<T> documentReader = databaseConnector.getDocumentReader();
PipelineStatus<T> pipelineStatus = databaseConnector.getStatusReader().getStatus();
documentMap.put("current", documentReader.getActiveDatabaseSize());
documentMap.put("throughput", 0); // TODO actually implement this