public void execute ( ) { State currentState = state . getAndSet ( State . RUNNING ) ; if ( currentState == State . RUNNING ) { throw new IllegalStateException ( "ExecutionChain is already running!" ) ; } executeRunnable = new ExecuteRunnable ( ) ; }
Start the chain of execution running .