Class ForkJoinPoolConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware

    @Configuration
    @Lazy
    public class ForkJoinPoolConfiguration
    extends java.lang.Object
    implements org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_NAME  
      protected org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory  
      protected java.lang.Thread.UncaughtExceptionHandler exceptionHandler  
      protected java.util.concurrent.ForkJoinPool forkJoinPool  
      protected static org.slf4j.Logger LOGGER  
      protected Options options  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • options

        protected final Options options
      • exceptionHandler

        protected final java.lang.Thread.UncaughtExceptionHandler exceptionHandler
      • beanFactory

        protected org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory
      • forkJoinPool

        protected java.util.concurrent.ForkJoinPool forkJoinPool
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(@Nonnull
                                          org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • destroy

        public void destroy()
                     throws java.lang.InterruptedException
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.InterruptedException