java.lang.Object
org.duracloud.account.monitor.MonitorsDriver
- Direct Known Subclasses:
DuplicationMonitorDriver
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum defines the types of monitors available through this driver. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetProperty(Properties props, String key) org.duracloud.account.db.repo.DuracloudRepoMgrstatic voidMainvoidmonitor(MonitorsDriver.Monitor target) This method invokes the .run() method on the provided arg target.protected void
-
Constructor Details
-
MonitorsDriver
-
-
Method Details
-
getRepoMgr
public org.duracloud.account.db.repo.DuracloudRepoMgr getRepoMgr() -
getGlobalConfigService
-
monitor
This method invokes the .run() method on the provided arg target.- Parameters:
target- to monitor
-
sendEmail
-
getProperty
-
main
Main
-