Class FailedSynchronisationManagerImpl
java.lang.Object
com.atlassian.crowd.manager.directory.FailedSynchronisationManagerImpl
- All Implemented Interfaces:
FailedSynchronisationManager
@Transactional
public class FailedSynchronisationManagerImpl
extends Object
implements FailedSynchronisationManager
-
Constructor Summary
ConstructorsConstructorDescriptionFailedSynchronisationManagerImpl(InternalSynchronisationStatusManager synchronisationStatusManager, DirectoryPollerManager pollerManager, com.atlassian.beehive.ClusterLockService lockService, DirectoryManager directoryManager, DirectorySynchronisationEventHelper syncEventHelper) -
Method Summary
Modifier and TypeMethodDescriptionvoidFinds and finalizes synchronisations which started, but haven't finished yetintAttempts to find synchronisations started by nodes that have terminated, and reschedule them.
-
Constructor Details
-
FailedSynchronisationManagerImpl
public FailedSynchronisationManagerImpl(InternalSynchronisationStatusManager synchronisationStatusManager, DirectoryPollerManager pollerManager, com.atlassian.beehive.ClusterLockService lockService, DirectoryManager directoryManager, DirectorySynchronisationEventHelper syncEventHelper)
-
-
Method Details
-
finalizeSynchronisationStatuses
public void finalizeSynchronisationStatuses()Description copied from interface:FailedSynchronisationManagerFinds and finalizes synchronisations which started, but haven't finished yet- Specified by:
finalizeSynchronisationStatusesin interfaceFailedSynchronisationManager
-
rescheduleStalledSynchronisations
public int rescheduleStalledSynchronisations()Description copied from interface:FailedSynchronisationManagerAttempts to find synchronisations started by nodes that have terminated, and reschedule them.- Specified by:
rescheduleStalledSynchronisationsin interfaceFailedSynchronisationManager- Returns:
- number of rescheduled synchronisations
- See Also:
-