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 TypeMethodDescriptionvoid
Finds and finalizes synchronisations which started, but haven't finished yetint
Attempts 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:FailedSynchronisationManager
Finds and finalizes synchronisations which started, but haven't finished yet- Specified by:
finalizeSynchronisationStatuses
in interfaceFailedSynchronisationManager
-
rescheduleStalledSynchronisations
public int rescheduleStalledSynchronisations()Description copied from interface:FailedSynchronisationManager
Attempts to find synchronisations started by nodes that have terminated, and reschedule them.- Specified by:
rescheduleStalledSynchronisations
in interfaceFailedSynchronisationManager
- Returns:
- number of rescheduled synchronisations
- See Also:
-