- <init>
Constructs a DiskBalancerWorkItem.
- getBandwidth
Max disk bandwidth to use. MB per second.
- getBlocksCopied
Returns number of blocks copied for this DiskBalancerWorkItem.
- getBytesCopied
Returns bytes copied so far.
- getBytesToCopy
Returns bytes to copy.
- getErrorCount
Returns the number of errors encountered.
- getMaxDiskErrors
Gets maximum disk errors to tolerate before we fail this copy step.
- getTolerancePercent
Allowed deviation from ideal storage in percentage.
- incBlocksCopied
increments the number of blocks copied.
- incCopiedSoFar
Increments bytesCopied by delta.
- incErrorCount
Incs Error Count.
- parseJson
Reads a DiskBalancerWorkItem Object from a Json String.