public class StorageReportScheduler extends Object
Constructor and Description |
---|
StorageReportScheduler(StorageReportBuilder reportBuilder) |
Modifier and Type | Method and Description |
---|---|
String |
cancelStorageReport()
Cancels the currently running storage report.
|
String |
cancelStorageReportSchedule() |
Date |
getNextScheduledStartDate()
Provides the next scheduled start date,
or null if there is no scheduled date.
|
String |
scheduleStorageReport(Date startDate,
long frequency)
Sets up storage reports to be run on a new schedule.
|
String |
startStorageReport()
Starts a new storage report if one is not currently running.
|
public StorageReportScheduler(StorageReportBuilder reportBuilder)
public String scheduleStorageReport(Date startDate, long frequency)
startDate
- when to run the next reportfrequency
- how often reports should be run, in millisecondspublic String cancelStorageReportSchedule()
public String startStorageReport()
public String cancelStorageReport()
public Date getNextScheduledStartDate()
Copyright © 2009–2014 DuraSpace. All rights reserved.