public class StorageReportManagerImpl extends BaseReportManager implements StorageReportManager
restHelper
Constructor and Description |
---|
StorageReportManagerImpl(String host,
String port) |
StorageReportManagerImpl(String host,
String port,
String context) |
Modifier and Type | Method and Description |
---|---|
String |
cancelStorageReport()
Cancels any currently running storage report.
|
String |
cancelStorageReportSchedule()
Cancels any existing storage report schedule.
|
StorageReport |
getLatestStorageReport()
Retrieves the latest completed storage report.
|
StorageReport |
getStorageReport(String reportId)
Retrieves a storage report indicated by a report ID.
|
StorageReportInfo |
getStorageReportInfo()
Retrieves information about storage reporting activities.
|
List<String> |
getStorageReportList()
Retrieves the list of storage report IDs, ordered by
report completion date.
|
String |
scheduleStorageReport(Date startTime,
long frequency)
Schedules a series of storage reports to run.
|
String |
startStorageReport()
Tells DuraBoss reporting to start running a new storage report generation
process.
|
checkResponse, getBaseURL, getRestHelper, login, logout, setRestHelper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseURL
public StorageReport getLatestStorageReport() throws NotFoundException, ReportException
StorageReportManager
getLatestStorageReport
in interface StorageReportManager
NotFoundException
- if no reports are availableReportException
public List<String> getStorageReportList() throws ReportException
StorageReportManager
getStorageReportList
in interface StorageReportManager
ReportException
public StorageReport getStorageReport(String reportId) throws NotFoundException, ReportException
StorageReportManager
getStorageReport
in interface StorageReportManager
NotFoundException
- if a storage report with that ID does not existReportException
public StorageReportInfo getStorageReportInfo() throws ReportException
StorageReportManager
getStorageReportInfo
in interface StorageReportManager
ReportException
public String startStorageReport() throws ReportException
StorageReportManager
startStorageReport
in interface StorageReportManager
ReportException
public String cancelStorageReport() throws ReportException
StorageReportManager
cancelStorageReport
in interface StorageReportManager
ReportException
public String scheduleStorageReport(Date startTime, long frequency) throws ReportException
StorageReportManager
scheduleStorageReport
in interface StorageReportManager
startTime
- time to start the next storage reportfrequency
- time in milliseconds to wait between reportsReportException
public String cancelStorageReportSchedule() throws ReportException
StorageReportManager
cancelStorageReportSchedule
in interface StorageReportManager
ReportException
Copyright © 2009–2014 DuraSpace. All rights reserved.