Package com.liferay.dispatch.executor
Class BaseDispatchTaskExecutor
java.lang.Object
com.liferay.dispatch.executor.BaseDispatchTaskExecutor
- All Implemented Interfaces:
DispatchTaskExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddoExecute(DispatchTrigger dispatchTrigger, DispatchTaskExecutorOutput dispatchTaskExecutorOutput) voidexecute(long dispatchTriggerId) This method execute the scheduled taskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.dispatch.executor.DispatchTaskExecutor
getName, isClusterModeSingle, isHiddenInUI
-
Constructor Details
-
BaseDispatchTaskExecutor
public BaseDispatchTaskExecutor()
-
-
Method Details
-
doExecute
public abstract void doExecute(DispatchTrigger dispatchTrigger, DispatchTaskExecutorOutput dispatchTaskExecutorOutput) throws Exception - Throws:
Exception
-
execute
public void execute(long dispatchTriggerId) throws IOException, com.liferay.portal.kernel.exception.PortalException Description copied from interface:DispatchTaskExecutorThis method execute the scheduled task- Specified by:
executein interfaceDispatchTaskExecutor- Throws:
IOExceptioncom.liferay.portal.kernel.exception.PortalException
-