public interface Step
| Modifier and Type | Method and Description | 
|---|---|
| long | getBandwidth()Returns max disk bandwidth that disk balancer will use. | 
| long | getBytesToMove()Return the number of bytes to move. | 
| DiskBalancerVolume | getDestinationVolume()Gets the destination volume. | 
| double | getIdealStorage()Gets the IdealStorage. | 
| long | getMaxDiskErrors()Returns maximum number of disk erros tolerated. | 
| String | getSizeString(long size)Returns a String representation of the Step Size. | 
| DiskBalancerVolume | getSourceVolume()Gets Source Volume. | 
| long | getTolerancePercent()Returns tolerance percentage, the good enough value
 when we move data from one to disk to another. | 
| String | getVolumeSetID()Gets a volume Set ID. | 
| void | setBandwidth(long bandwidth)Set Bandwidth on a specific step. | 
| void | setMaxDiskErrors(long maxDiskErrors)Set maximum errors to tolerate before disk balancer step fails. | 
| void | setTolerancePercent(long tolerancePercent)Sets Tolerance percent on a specific step. | 
long getBytesToMove()
DiskBalancerVolume getDestinationVolume()
double getIdealStorage()
DiskBalancerVolume getSourceVolume()
String getVolumeSetID()
String getSizeString(long size)
long getMaxDiskErrors()
long getTolerancePercent()
long getBandwidth()
void setTolerancePercent(long tolerancePercent)
tolerancePercent - - tolerance in percentage.void setBandwidth(long bandwidth)
bandwidth - - in MB/svoid setMaxDiskErrors(long maxDiskErrors)
maxDiskErrors - - error count.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.