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