public void close ( long timeout , TimeUnit timeUnit ) { disable ( ) ; for ( GetJobsAction < K , V > getJobsAction : actions ) { getJobsAction . close ( timeout , timeUnit ) ; } if ( reconnectTrigger != null ) { reconnectTrigger . unsubscribe ( ) ; reconnectTrigger = null ; } }
Unsubscribe and close the resources .