work in progress

This commit is contained in:
Greg Wilkins 2017-03-16 23:26:59 +11:00
parent 5d18c654b8
commit 4dc15032ba
2 changed files with 3 additions and 7 deletions

View File

@ -226,12 +226,6 @@ public abstract class AbstractLifeCycle implements LifeCycle
this._stopTimeout = stopTimeout;
}
@Override
public String toString()
{
return String.format("%s@%x",getClass().getSimpleName(),hashCode());
}
public static abstract class AbstractLifeCycleListener implements LifeCycle.Listener
{
@Override public void lifeCycleFailure(LifeCycle event, Throwable cause) {}

View File

@ -314,7 +314,9 @@ public class EatWhatYouKill extends AbstractLifeCycle implements ExecutionStrate
public String toString()
{
StringBuilder builder = new StringBuilder();
builder.append(super.toString());
builder.append(getClass().getSimpleName());
builder.append('@');
builder.append(Integer.toHexString(hashCode()));
builder.append('/');
builder.append(_producer);
builder.append('/');