protected class PortalExecutorManagerTestCallback.MockPortalExecutorManager
extends Object
implements com.liferay.portal.kernel.executor.PortalExecutorManager
Modifier | Constructor and Description |
---|---|
protected |
MockPortalExecutorManager() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor |
getPortalExecutor(String name) |
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor |
getPortalExecutor(String name,
boolean createIfAbsent) |
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor |
registerPortalExecutor(String name,
com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor) |
void |
shutdown() |
void |
shutdown(boolean interrupt) |
public com.liferay.portal.kernel.concurrent.ThreadPoolExecutor getPortalExecutor(String name)
getPortalExecutor
in interface com.liferay.portal.kernel.executor.PortalExecutorManager
public com.liferay.portal.kernel.concurrent.ThreadPoolExecutor getPortalExecutor(String name, boolean createIfAbsent)
getPortalExecutor
in interface com.liferay.portal.kernel.executor.PortalExecutorManager
public com.liferay.portal.kernel.concurrent.ThreadPoolExecutor registerPortalExecutor(String name, com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor)
registerPortalExecutor
in interface com.liferay.portal.kernel.executor.PortalExecutorManager
public void shutdown()
shutdown
in interface com.liferay.portal.kernel.executor.PortalExecutorManager
public void shutdown(boolean interrupt)
shutdown
in interface com.liferay.portal.kernel.executor.PortalExecutorManager