Add toString() to Chunk*

This commit is contained in:
dsyer
2008-06-25 13:08:16 +00:00
parent 132f32b426
commit 3823d1b48d
3 changed files with 56 additions and 4 deletions

View File

@@ -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();
}
}

View File

@@ -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;
}
}