Add TaskLockPosse#toString

This commit is contained in:
Gian Merlino 2013-03-01 18:48:34 -08:00
parent 0b054cdd3d
commit 665d1723c0
1 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package com.metamx.druid.merger.coordinator;
import com.google.common.base.Function;
import com.google.common.base.Objects;
import com.google.common.base.Optional;
import com.google.common.base.Predicate;
import com.google.common.collect.ImmutableList;
@ -401,5 +402,14 @@ public class TaskLockbox
{
return taskIds;
}
@Override
public String toString()
{
return Objects.toStringHelper(this)
.add("taskLock", taskLock)
.add("taskIds", taskIds)
.toString();
}
}
}