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.DefaultLongOperationThreadExecutorThis implementation ofLongOperationThreadExecutorutilizes platform'sThreadPoolto execute async operations and interact with the thread pool.
-
-
Constructor Summary
Constructors Constructor Description BackofficeLongOperationThreadExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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 PoolableThreadgetPoolableThread()
-
-
-
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
-
getPoolableThread
protected PoolableThread getPoolableThread()
-
-