Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
smengcl committed Aug 10, 2023
1 parent b4ce571 commit 55b932f
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,20 @@ void addAll(long versionToAdd, List<OmKeyLocationInfo> locationInfoList) {

@Override
public String toString() {
return "OmKeyLocationInfoGroup{" +
"version=" + version +
", locationVersionMap=" + locationVersionMap +
", isMultipartKey=" + isMultipartKey +
'}';
StringBuilder sb = new StringBuilder();
sb.append("version:").append(version).append(" ");
sb.append("isMultipartKey:").append(isMultipartKey).append(" ");
for (List<OmKeyLocationInfo> kliList : locationVersionMap.values()) {
for (OmKeyLocationInfo kli: kliList) {
sb.append("conID ").append(kli.getContainerID());
sb.append(" ");
sb.append("locID ").append(kli.getLocalID());
sb.append(" ");
sb.append("bcsID ").append(kli.getBlockCommitSequenceId());
sb.append(" || ");
}
}
return sb.toString();
}

@Override
Expand Down

0 comments on commit 55b932f

Please sign in to comment.