public class DefaultSynchronyLockManager extends Object implements SynchronyLockManager<com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock>
SynchronyLockManager.SynchronyContentLock
Constructor and Description |
---|
DefaultSynchronyLockManager(com.atlassian.event.api.EventPublisher eventPublisher,
SynchronyConfigurationReader synchronyConfig) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock |
lockAllContent(long timeout)
Lock all hubs.
|
com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock |
lockContent(Collection<Long> contentIds,
Long timeout)
Tells synchrony to lock these pages
|
public DefaultSynchronyLockManager(com.atlassian.event.api.EventPublisher eventPublisher, SynchronyConfigurationReader synchronyConfig)
public com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock lockContent(Collection<Long> contentIds, Long timeout)
SynchronyLockManager
lockContent
in interface SynchronyLockManager<com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock>
public com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock lockAllContent(long timeout)
SynchronyLockManager
lockAllContent
in interface SynchronyLockManager<com.atlassian.confluence.pages.collab.impl.DefaultSynchronyContentLock>
timeout
- lock timeoutCopyright © 2003–2020 Atlassian. All rights reserved.