/** * {@inheritDoc} */ @Override public void close() throws DataStoreException { Executor asyncExecutor = getAsyncWriteExecutor(); if (asyncExecutor != null && asyncExecutor instanceof ExecutorService) { ((ExecutorService) asyncExecutor).shutdownNow(); } }
/** * {@inheritDoc} */ @Override public void close() throws DataStoreException { Executor asyncExecutor = getAsyncWriteExecutor(); if (asyncExecutor != null && asyncExecutor instanceof ExecutorService) { ((ExecutorService) asyncExecutor).shutdownNow(); } }
/** * {@inheritDoc} */ @Override public void close() throws DataStoreException { Executor asyncExecutor = getAsyncWriteExecutor(); if (asyncExecutor != null && asyncExecutor instanceof ExecutorService) { ((ExecutorService) asyncExecutor).shutdownNow(); } }