Interface ExecutorServiceAware


  • public interface ExecutorServiceAware
    Is used for easy configuration of ExecutorService.
    • Method Detail

      • getExecutorService

        ExecutorService getExecutorService()
        Gets the executor service
        Returns:
        the executor
      • setExecutorService

        void setExecutorService​(ExecutorService executorService)
        Sets the executor service to be used.
        Parameters:
        executorService - the executor
      • getExecutorServiceRef

        String getExecutorServiceRef()
        Gets the reference to lookup in the Registry for the executor service to be used.
        Returns:
        the reference, or null if the executor was set directly
      • setExecutorServiceRef

        void setExecutorServiceRef​(String executorServiceRef)
        Sets a reference to lookup in the Registry for the executor service to be used.
        Parameters:
        executorServiceRef - reference for the executor