Class ClusterLockExecutionService
java.lang.Object
com.atlassian.confluence.impl.cluster.lock.ClusterLockExecutionService
A service to execute a runnable with a cluster lock.
- Since:
- 9.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionClusterLockExecutionService
(com.atlassian.beehive.ClusterLockService clusterLockService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doWithLock
(String lockName, String messagePrefix, Runnable runnable)
-
Constructor Details
-
ClusterLockExecutionService
public ClusterLockExecutionService(com.atlassian.beehive.ClusterLockService clusterLockService)
-
-
Method Details
-
doWithLock
-