/** * Stop the service. * * @throws Exception which is thrown in case a retrieval service cannot be stopped properly */ public void stop() throws Exception { clear(); this.jobLeaderIdActions = null; }
/** * Stop the service. * * @throws Exception which is thrown in case a retrieval service cannot be stopped properly */ public void stop() throws Exception { clear(); this.jobLeaderIdActions = null; }
/** * Stop the service. * * @throws Exception which is thrown in case a retrieval service cannot be stopped properly */ public void stop() throws Exception { clear(); this.jobLeaderIdActions = null; }
/** * Stop the service. * * @throws Exception which is thrown in case a retrieval service cannot be stopped properly */ public void stop() throws Exception { clear(); this.jobLeaderIdActions = null; }
private void clearState() { jobManagerRegistrations.clear(); jmResourceIdRegistrations.clear(); taskExecutors.clear(); try { jobLeaderIdService.clear(); } catch (Exception e) { onFatalError(new ResourceManagerException("Could not properly clear the job leader id service.", e)); } }
private void clearState() { jobManagerRegistrations.clear(); jmResourceIdRegistrations.clear(); taskExecutors.clear(); try { jobLeaderIdService.clear(); } catch (Exception e) { onFatalError(new ResourceManagerException("Could not properly clear the job leader id service.", e)); } leaderSessionId = null; }
private void clearStateInternal() { jobManagerRegistrations.clear(); jmResourceIdRegistrations.clear(); taskExecutors.clear(); try { jobLeaderIdService.clear(); } catch (Exception e) { onFatalError(new ResourceManagerException("Could not properly clear the job leader id service.", e)); } clearStateFuture = clearStateAsync(); }
private void clearStateInternal() { jobManagerRegistrations.clear(); jmResourceIdRegistrations.clear(); taskExecutors.clear(); try { jobLeaderIdService.clear(); } catch (Exception e) { onFatalError(new ResourceManagerException("Could not properly clear the job leader id service.", e)); } clearStateFuture = clearStateAsync(); }
/** * Start the service with the given job leader actions. * * @param initialJobLeaderIdActions to use for job leader id actions * @throws Exception which is thrown when clearing up old state */ public void start(JobLeaderIdActions initialJobLeaderIdActions) throws Exception { if (isStarted()) { clear(); } this.jobLeaderIdActions = Preconditions.checkNotNull(initialJobLeaderIdActions); }
/** * Start the service with the given job leader actions. * * @param initialJobLeaderIdActions to use for job leader id actions * @throws Exception which is thrown when clearing up old state */ public void start(JobLeaderIdActions initialJobLeaderIdActions) throws Exception { if (isStarted()) { clear(); } this.jobLeaderIdActions = Preconditions.checkNotNull(initialJobLeaderIdActions); }
/** * Start the service with the given job leader actions. * * @param initialJobLeaderIdActions to use for job leader id actions * @throws Exception which is thrown when clearing up old state */ public void start(JobLeaderIdActions initialJobLeaderIdActions) throws Exception { if (isStarted()) { clear(); } this.jobLeaderIdActions = Preconditions.checkNotNull(initialJobLeaderIdActions); }
/** * Start the service with the given job leader actions. * * @param initialJobLeaderIdActions to use for job leader id actions * @throws Exception which is thrown when clearing up old state */ public void start(JobLeaderIdActions initialJobLeaderIdActions) throws Exception { if (isStarted()) { clear(); } this.jobLeaderIdActions = Preconditions.checkNotNull(initialJobLeaderIdActions); }