public class BackgroundTaskThreadLocal
extends Object
| Constructor and Description |
|---|
BackgroundTaskThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getBackgroundTaskId() |
static boolean |
hasBackgroundTask() |
static void |
setBackgroundTaskId(long backgroundTaskId)
Deprecated.
As of Athanasius (7.3.x), replaced by
setBackgroundTaskIdWithSafeClosable(long) |
static com.liferay.petra.lang.SafeClosable |
setBackgroundTaskIdWithSafeClosable(long backgroundTaskId)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
setBackgroundTaskIdWithSafeCloseable(long) |
static com.liferay.petra.lang.SafeCloseable |
setBackgroundTaskIdWithSafeCloseable(long backgroundTaskId) |
public static long getBackgroundTaskId()
public static boolean hasBackgroundTask()
@Deprecated public static void setBackgroundTaskId(long backgroundTaskId)
setBackgroundTaskIdWithSafeClosable(long)@Deprecated public static com.liferay.petra.lang.SafeClosable setBackgroundTaskIdWithSafeClosable(long backgroundTaskId)
setBackgroundTaskIdWithSafeCloseable(long)public static com.liferay.petra.lang.SafeCloseable setBackgroundTaskIdWithSafeCloseable(long backgroundTaskId)