Class BackgroundTaskThreadLocal
Object
com.liferay.portal.kernel.backgroundtask.BackgroundTaskThreadLocal
- Author:
- Michael C. Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
static boolean
static com.liferay.petra.lang.SafeCloseable
setBackgroundTaskIdWithSafeCloseable
(long backgroundTaskId)
-
Constructor Details
-
BackgroundTaskThreadLocal
public BackgroundTaskThreadLocal()
-
-
Method Details
-
getBackgroundTaskId
public static long getBackgroundTaskId() -
hasBackgroundTask
public static boolean hasBackgroundTask() -
setBackgroundTaskIdWithSafeCloseable
public static com.liferay.petra.lang.SafeCloseable setBackgroundTaskIdWithSafeCloseable(long backgroundTaskId)
-