public void shutdown ( ) { if ( executor != null ) { executor . shutdown ( ) ; executor = null ; } if ( timer != null ) { timer . cancel ( ) ; timer = null ; } instance = null ; }
Shuts down the task engine service .