Class BackofficeLongOperationThreadExecutor

  • All Implemented Interfaces:
    com.hybris.cockpitng.engine.operations.LongOperationThreadExecutor

    public class BackofficeLongOperationThreadExecutor
    extends com.hybris.cockpitng.engine.operations.impl.DefaultLongOperationThreadExecutor
    This implementation of LongOperationThreadExecutor utilizes platform's ThreadPool to execute async operations and interact with the thread pool.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable runnable)
      This implementation uses platforms thread pool and guarantees that the thread is returned to the pool after the runnable is executed.
      protected PoolableThread getPoolableThread()  
      • Methods inherited from class java.lang.Object

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

      • BackofficeLongOperationThreadExecutor

        public BackofficeLongOperationThreadExecutor()
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable runnable)
        This implementation uses platforms thread pool and guarantees that the thread is returned to the pool after the runnable is executed.
        Parameters:
        runnable - Runnable to execute