Class PostgresSizeCollector

  • All Implemented Interfaces:
    ISizeCollector

    public class PostgresSizeCollector
    extends java.lang.Object
    implements ISizeCollector
    Collect size metrics for a PostgreSQL database and add them to the model
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PostgresSizeCollector

        public PostgresSizeCollector​(FHIRDbSizeModel model)
        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 interface ISizeCollector