A simple Java scheduler, which execute scheduled tasks in current thread.