Class MonitorsDriver

  • Direct Known Subclasses:
    DuplicationMonitorDriver

    public class MonitorsDriver
    extends Object
    This class is the command-line driver for executing monitors for instance health, storage reporting, and duplication checks that are run across DuraCloud accounts managed by the Management Console that is defined by the configuration credentials.
    Author:
    Andrew Woods Date: 7/18/11
    • Constructor Detail

      • MonitorsDriver

        public MonitorsDriver​(Properties props)
    • Method Detail

      • getRepoMgr

        public org.duracloud.account.db.repo.DuracloudRepoMgr getRepoMgr()
      • getGlobalConfigService

        public org.duracloud.account.db.util.GlobalPropertiesConfigService getGlobalConfigService()
      • monitor

        public void monitor​(MonitorsDriver.Monitor target)
        This method invokes the .run() method on the provided arg target.
        Parameters:
        target - to monitor
      • sendEmail

        protected void sendEmail​(String subject,
                                 String body)
      • main

        public static void main​(String[] args)
        Main