Package com.ibm.fhir.schema.size
Class Db2SizeCollector
- java.lang.Object
-
- com.ibm.fhir.schema.size.Db2SizeCollector
-
- All Implemented Interfaces:
ISizeCollector
public class Db2SizeCollector extends java.lang.Object implements ISizeCollector
Collect size metrics for a Db2 database and add them to the model
-
-
Constructor Summary
Constructors Constructor Description Db2SizeCollector(FHIRDbSizeModel model, java.lang.String tenantName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(java.lang.String schemaName, java.sql.Connection connection, IDatabaseTranslator translator)
Collect database size metrics for the given schema using the given database connection
-
-
-
Constructor Detail
-
Db2SizeCollector
public Db2SizeCollector(FHIRDbSizeModel model, java.lang.String tenantName)
Public constructor- Parameters:
model
-
-
-
Method Detail
-
run
public void run(java.lang.String schemaName, java.sql.Connection connection, IDatabaseTranslator translator)
Description copied from interface:ISizeCollector
Collect database size metrics for the given schema using the given database connection- Specified by:
run
in interfaceISizeCollector
-
-