Package com.atlassian.confluence.internal.api.impl.service.incrementalsync.globalpermissionmanagement
Class GlobalPermissionManagementIncrementalSyncServiceImpl
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.AbstractIncrementalSyncService<SimpleSubscriptionSpec,GlobalPermissionManagementIncSyncModel>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.globalpermissionmanagement.GlobalPermissionManagementIncrementalSyncServiceImpl
- All Implemented Interfaces:
GlobalPermissionManagementIncrementalSyncService,IncrementalSyncCleaner,IncrementalSyncService<SimpleSubscriptionSpec,GlobalPermissionManagementIncSyncModel>
public class GlobalPermissionManagementIncrementalSyncServiceImpl
extends AbstractIncrementalSyncService<SimpleSubscriptionSpec,GlobalPermissionManagementIncSyncModel>
implements GlobalPermissionManagementIncrementalSyncService
Service class for managing global permissions event related incremental sync operations
- 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
ConstructorsConstructorDescriptionGlobalPermissionManagementIncrementalSyncServiceImpl(JournalServiceInternal journalService, SubscriptionJournalStateStore subscriptionJournalStateStore, com.atlassian.core.util.Clock clock, PermissionManager permissionManager, IncrementalSyncDataFetcher<GlobalPermissionManagementIncSyncModel> incrementalSyncDataFetcher, ScopesRequestCacheDelegate scopesRequestCacheDelegate) -
Method Summary
Modifier and TypeMethodDescriptionintGet max size of the events batch, that can be handled by the incremental sync serviceprotected MultiSubscriptionPerJournalIdentifiergetJournalIdentifier(long subscriptionId) protected StringCollection<? extends JournalIdentifier>Return all Journal Entry names which is managed by this service including all deleted Subscriptionprotected StringMethods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.AbstractIncrementalSyncService
cleanObsoleteData, cleanUpSubscriptions, getAvailableSubscriptions, getMostRecentCursor, handleEventForSubscription, isSubscriptionActive, processEvents, subscribe, unsubscribe, verifyAdminUserOrManageSubscriptionScope, verifyAdminUserOrReadAllScopeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.internal.api.service.incrementalsync.IncrementalSyncService
cleanUpSubscriptions, getAvailableSubscriptions, getMostRecentCursor, handleEventForSubscription, isSubscriptionActive, processEvents, subscribe, unsubscribe
-
Field Details
-
PERMISSION_MANAGEMENT_INC_SYNC_JOURNAL_NAME
- See Also:
-
-
Constructor Details
-
GlobalPermissionManagementIncrementalSyncServiceImpl
public GlobalPermissionManagementIncrementalSyncServiceImpl(JournalServiceInternal journalService, SubscriptionJournalStateStore subscriptionJournalStateStore, com.atlassian.core.util.Clock clock, PermissionManager permissionManager, IncrementalSyncDataFetcher<GlobalPermissionManagementIncSyncModel> incrementalSyncDataFetcher, ScopesRequestCacheDelegate scopesRequestCacheDelegate)
-
-
Method Details
-
getSubscriptionData
-
getJournalName
- Specified by:
getJournalNamein classAbstractIncrementalSyncService<SimpleSubscriptionSpec,GlobalPermissionManagementIncSyncModel>
-
getJournalIdentifier
-
getManagedJournalIdentifier
Description copied from interface:IncrementalSyncCleanerReturn all Journal Entry names which is managed by this service including all deleted Subscription- Specified by:
getManagedJournalIdentifierin interfaceIncrementalSyncCleaner- Returns:
-
getEventsBatchLimit
public int getEventsBatchLimit()Description copied from interface:IncrementalSyncServiceGet max size of the events batch, that can be handled by the incremental sync service- Specified by:
getEventsBatchLimitin interfaceIncrementalSyncService<SimpleSubscriptionSpec,GlobalPermissionManagementIncSyncModel> - Returns:
- max size of the events batch, that can be handled by the incremental sync service
-