I have a Report Generation task , so for this i am starting a Thread .
The Report generation should take only 10000 Ms , or otherwise the Action should be terminated
I have coded this way , please tell me whether i can use join in this case ??
Thread thread = new Thread(this);
thread.setDaemon(true);
thread.start();