@ Override public void start ( String [ ] arguments ) { boolean notStarted = ! started . getAndSet ( true ) ; if ( notStarted ) { start ( new SingleInstanceWorkloadStrategy ( job , name , arguments , endpointRegistry , execService ) ) ; } }
Starts the one and only job instance in a separate Thread . Should be called exactly one time before the operation is stopped .