public static class DiskBalancerWorkStatus.DiskBalancerWorkEntry
extends java.lang.Object
| Constructor | Description |
|---|---|
DiskBalancerWorkEntry() |
Constructor needed for json serialization.
|
DiskBalancerWorkEntry(java.lang.String workItem) |
|
DiskBalancerWorkEntry(java.lang.String sourcePath,
java.lang.String destPath,
DiskBalancerWorkItem workItem) |
Constructs a Work Entry class.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDestPath() |
Gets the Destination path.
|
java.lang.String |
getSourcePath() |
Returns the source path.
|
DiskBalancerWorkItem |
getWorkItem() |
Gets the current status of work for these volumes.
|
void |
setDestPath(java.lang.String destPath) |
Sets the destination path.
|
void |
setSourcePath(java.lang.String sourcePath) |
Sets the Source Path.
|
void |
setWorkItem(DiskBalancerWorkItem workItem) |
Sets the work item.
|
public DiskBalancerWorkEntry()
public DiskBalancerWorkEntry(java.lang.String workItem)
throws java.io.IOException
java.io.IOExceptionpublic DiskBalancerWorkEntry(java.lang.String sourcePath,
java.lang.String destPath,
DiskBalancerWorkItem workItem)
sourcePath - - Source Path where we are moving data from.destPath - - Destination path to where we are moving data to.workItem - - Current work status of this move.public java.lang.String getSourcePath()
public void setSourcePath(java.lang.String sourcePath)
sourcePath - - Volume Path.public java.lang.String getDestPath()
public void setDestPath(java.lang.String destPath)
destPath - - Pathpublic DiskBalancerWorkItem getWorkItem()
public void setWorkItem(DiskBalancerWorkItem workItem)
workItem - - sets the work item informationCopyright © 2008–2025 Apache Software Foundation. All rights reserved.