Class BackofficeLongOperationThreadExecutor

java.lang.Object
com.hybris.cockpitng.engine.operations.impl.DefaultLongOperationThreadExecutor
com.hybris.backoffice.engine.operations.impl.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.
  • Constructor Details

    • BackofficeLongOperationThreadExecutor

      public BackofficeLongOperationThreadExecutor()
  • Method Details

    • execute

      public void execute(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
    • getPoolableThread

      protected PoolableThread getPoolableThread()