/** * Returns Executor used to execute asynchronous write or touch jobs. * @return Executor used to execute asynchronous write or touch jobs */ protected Executor getAsyncWriteExecutor() { Executor executor = asyncWriteExecutor; if (executor == null) { synchronized (this) { executor = asyncWriteExecutor; if (executor == null) { asyncWriteExecutor = executor = createAsyncWriteExecutor(); } } } return executor; }
/** * Returns Executor used to execute asynchronous write or touch jobs. * @return Executor used to execute asynchronous write or touch jobs */ protected Executor getAsyncWriteExecutor() { Executor executor = asyncWriteExecutor; if (executor == null) { synchronized (this) { executor = asyncWriteExecutor; if (executor == null) { asyncWriteExecutor = executor = createAsyncWriteExecutor(); } } } return executor; }
/** * Returns Executor used to execute asynchronous write or touch jobs. * @return Executor used to execute asynchronous write or touch jobs */ protected Executor getAsyncWriteExecutor() { Executor executor = asyncWriteExecutor; if (executor == null) { synchronized (this) { executor = asyncWriteExecutor; if (executor == null) { asyncWriteExecutor = executor = createAsyncWriteExecutor(); } } } return executor; }