HDDS-404. Implement toString() in OmKeyLocationInfo. Contributed by Dinesh Chitlangia.
This commit is contained in:
parent
962089ab59
commit
b6c543fe45
@ -130,4 +130,14 @@ public final class OmKeyLocationInfo {
|
||||
info.setCreateVersion(keyLocation.getCreateVersion());
|
||||
return info;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "{blockID={containerID=" + blockID.getContainerID() +
|
||||
", localID=" + blockID.getLocalID() + "}" +
|
||||
", shouldCreateContainer=" + shouldCreateContainer +
|
||||
", length=" + length +
|
||||
", offset=" + offset +
|
||||
", createVersion=" + createVersion + '}';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user