Added toString().
This commit is contained in:
parent
31b77d9ade
commit
61ba84bda5
|
@ -87,5 +87,14 @@ public class TimerScheduler extends AbstractLifeCycle implements Scheduler
|
||||||
{
|
{
|
||||||
_task.run();
|
_task.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return String.format("%s.%s@%x",
|
||||||
|
TimerScheduler.class.getSimpleName(),
|
||||||
|
SimpleTask.class.getSimpleName(),
|
||||||
|
hashCode());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue