Add toString() to Chunk*
This commit is contained in:
@@ -26,5 +26,13 @@ public class ChunkRequest implements Serializable {
|
||||
public Collection<Object> getItems() {
|
||||
return items;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName()+": jobId="+jobId+", skipCount="+skipCount+", item count="+items.size();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -28,4 +28,12 @@ public class ChunkResponse implements Serializable {
|
||||
return exitStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName()+": jobId="+jobId+", skipCount="+skipCount+", status="+exitStatus;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user