Class StorageReporter
- java.lang.Object
-
- org.duracloud.mill.storagereporter.StorageReporter
-
public class StorageReporter extends Object
This class contains the logic for generating storage reports. The storage report shows which accounts contain oversubscribed storage providers. An oversubscribed account is an account with at least one storage provider whose most recent byte count exceeds the allocation set on the storage provider's "storage limit" property. The report shows the total for each storage provider, the storage limit, and the % capacity of that storage provider.- Author:
- dbernstein
-
-
Constructor Summary
Constructors Constructor Description StorageReporter(org.duracloud.mill.db.repo.JpaSpaceStatsRepo statsRepo, org.duracloud.account.db.repo.DuracloudAccountRepo accountRepo, NotificationManager notification)
-
-
-
Constructor Detail
-
StorageReporter
public StorageReporter(org.duracloud.mill.db.repo.JpaSpaceStatsRepo statsRepo, org.duracloud.account.db.repo.DuracloudAccountRepo accountRepo, NotificationManager notification)- Parameters:
statsRepo-accountRepo-notification-
-
-
Method Detail
-
run
public StorageReportResult run()
- Returns:
-
-