class ShutdownableThread extends Thread {

    public boolean gracefulShutdown(long timeout, TimeUnit unit) throws InterruptedException {
        startGracefulShutdown();
        return awaitShutdown(timeout, unit);
    }

    public  ShutdownableThread(String name);
    public  ShutdownableThread(String name, boolean daemon);

}