public class VolumeFailureSummary extends Object
Constructor and Description |
---|
VolumeFailureSummary(String[] failedStorageLocations,
long lastVolumeFailureDate,
long estimatedCapacityLostTotal)
Creates a new VolumeFailureSummary.
|
Modifier and Type | Method and Description |
---|---|
long |
getEstimatedCapacityLostTotal()
Returns estimate of capacity lost.
|
String[] |
getFailedStorageLocations()
Returns each storage location that has failed, sorted.
|
long |
getLastVolumeFailureDate()
Returns the date/time of the last volume failure in milliseconds since
epoch.
|
public VolumeFailureSummary(String[] failedStorageLocations, long lastVolumeFailureDate, long estimatedCapacityLostTotal)
failedStorageLocations
- storage locations that have failedlastVolumeFailureDate
- date/time of last volume failure in
milliseconds since epochestimatedCapacityLostTotal
- estimate of capacity lost in bytespublic String[] getFailedStorageLocations()
public long getLastVolumeFailureDate()
public long getEstimatedCapacityLostTotal()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.