Class AsyncExecutor


  • public class AsyncExecutor
    extends java.lang.Object
    Wrapper around the execution of tasks asynchronously.
    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncExecutor​(org.springframework.context.ApplicationEventPublisher eventPublisher)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void submitAsync​(java.lang.Runnable job)  
      void submitAsync​(java.lang.String name, java.lang.Runnable job)  
      • Methods inherited from class java.lang.Object

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

      • AsyncExecutor

        public AsyncExecutor​(org.springframework.context.ApplicationEventPublisher eventPublisher)
    • Method Detail

      • submitAsync

        public void submitAsync​(java.lang.Runnable job)
      • submitAsync

        public void submitAsync​(java.lang.String name,
                                java.lang.Runnable job)