Class UserManagementIncrementalSyncServiceImpl
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.AbstractIncrementalSyncService<SimpleSubscriptionSpec,UserManagementInSyncModel>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.UserManagementIncrementalSyncServiceImpl
- All Implemented Interfaces:
IncrementalSyncCleaner
,IncrementalSyncService<SimpleSubscriptionSpec,
,UserManagementInSyncModel> UserManagementIncrementalSyncService
public class UserManagementIncrementalSyncServiceImpl
extends AbstractIncrementalSyncService<SimpleSubscriptionSpec,UserManagementInSyncModel>
implements UserManagementIncrementalSyncService
Default implementation of IncrementalSyncService for User Management
- Since:
- 9.3.0
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.AbstractIncrementalSyncService
clock, INCREMENTAL_SYNC_EVENTS_BATCH_LIMIT_PREFIX, incrementalSyncDataFetcher, journalService, logger, permissionManager, scopesRequestCacheDelegate, subscriptionJournalStateStore
-
Constructor Summary
ConstructorsConstructorDescriptionUserManagementIncrementalSyncServiceImpl
(JournalServiceInternal journalService, SubscriptionJournalStateStore subscriptionJournalStateStore, com.atlassian.core.util.Clock clock, PermissionManager permissionManager, IncrementalSyncDataFetcher<UserManagementInSyncModel> incrementalSyncDataFetcher, ScopesRequestCacheDelegate scopesRequestCacheDelegate) -
Method Summary
Modifier and TypeMethodDescriptionint
Get max size of the events batch, that can be handled by the incremental sync serviceprotected MultiSubscriptionPerJournalIdentifier
getJournalIdentifier
(long subscriptionId) protected String
Collection<? extends JournalIdentifier>
Return all Journal Entry names which is managed by this service including all deleted Subscriptionprotected String
Methods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.AbstractIncrementalSyncService
cleanObsoleteData, cleanUpSubscriptions, getAvailableSubscriptions, getMostRecentCursor, handleEventForSubscription, isSubscriptionActive, processEvents, subscribe, unsubscribe, verifyAdminUserOrManageSubscriptionScope, verifyAdminUserOrReadAllScope
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.internal.api.service.incrementalsync.IncrementalSyncService
cleanUpSubscriptions, getAvailableSubscriptions, getMostRecentCursor, handleEventForSubscription, isSubscriptionActive, processEvents, subscribe, unsubscribe
-
Field Details
-
USER_MANAGEMENT_INC_SYNC_JOURNAL_NAME
- See Also:
-
-
Constructor Details
-
UserManagementIncrementalSyncServiceImpl
public UserManagementIncrementalSyncServiceImpl(JournalServiceInternal journalService, SubscriptionJournalStateStore subscriptionJournalStateStore, com.atlassian.core.util.Clock clock, PermissionManager permissionManager, IncrementalSyncDataFetcher<UserManagementInSyncModel> incrementalSyncDataFetcher, ScopesRequestCacheDelegate scopesRequestCacheDelegate)
-
-
Method Details
-
getSubscriptionData
- Specified by:
getSubscriptionData
in classAbstractIncrementalSyncService<SimpleSubscriptionSpec,
UserManagementInSyncModel>
-
getJournalName
- Specified by:
getJournalName
in classAbstractIncrementalSyncService<SimpleSubscriptionSpec,
UserManagementInSyncModel>
-
getJournalIdentifier
- Specified by:
getJournalIdentifier
in classAbstractIncrementalSyncService<SimpleSubscriptionSpec,
UserManagementInSyncModel>
-
getManagedJournalIdentifier
Description copied from interface:IncrementalSyncCleaner
Return all Journal Entry names which is managed by this service including all deleted Subscription- Specified by:
getManagedJournalIdentifier
in interfaceIncrementalSyncCleaner
- Returns:
-
getEventsBatchLimit
public int getEventsBatchLimit()Description copied from interface:IncrementalSyncService
Get max size of the events batch, that can be handled by the incremental sync service- Specified by:
getEventsBatchLimit
in interfaceIncrementalSyncService<SimpleSubscriptionSpec,
UserManagementInSyncModel> - Returns:
- max size of the events batch, that can be handled by the incremental sync service
-