Class SynchronyStatusCache
- java.lang.Object
-
- com.atlassian.confluence.plugins.synchrony.status.SynchronyStatusCache
-
@Component public class SynchronyStatusCache extends Object
A cluster-safe cache that keeps the result of the SynchronyStatusCheckJob to check if Synchrony is running or not.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description SynchronyStatusCache(com.atlassian.vcache.VCacheFactory vCacheFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<Optional<Boolean>>getStatus()Get the status from the cachebooleanisSynchronyRunning()Future<Boolean>setStatus(boolean isRunning)Set the status in the cache.
-