Class ClusterInvokeThreadLocal
Object
com.liferay.portal.kernel.cluster.ClusterInvokeThreadLocal
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static void
setEnabled
(boolean enabled) static com.liferay.petra.lang.SafeCloseable
setEnabledWithSafeCloseable
(boolean enabled)
-
Constructor Details
-
ClusterInvokeThreadLocal
public ClusterInvokeThreadLocal()
-
-
Method Details
-
isEnabled
public static boolean isEnabled() -
setEnabled
public static void setEnabled(boolean enabled) -
setEnabledWithSafeCloseable
public static com.liferay.petra.lang.SafeCloseable setEnabledWithSafeCloseable(boolean enabled)
-