Task4J/src/main/java/com/ani/dsl/job/impl/Job3.java
//private String jobState;//RUNNING,CANCELLED,COMPLETED
private String jobState;//RUNNING,CANCELLED,COMPLETED
private String jobState ; // RUNNING CANCELLED COMPLETED
@Override
	public void execute() throws Exception{
		String s="";
		logger.debug("This is Job3 start");
		for(int i=0;i<100000;i++){
			s = s+i;
			if (Thread.currentThread().isInterrupted()) {
				return;
            }
		}
		logger.debug("This is Job3 end");
	}
@ Override public void execute ( ) throws Exception { String s = "" ; logger . debug ( "This is Job3 start" ) ; for ( int i = 0 ; i < 100000 ; i ++ ) { s = s + i ; if ( Thread . currentThread ( ) . isInterrupted ( ) ) { return ; } } logger . debug ( "This is Job3 end" ) ; }
private String jobState;//RUNNING,CANCELLED,COMPLETED
private String jobState ; // RUNNING CANCELLED COMPLETED
//throw new InterruptedException();