Uses of Class
com.atlassian.confluence.api.model.journal.JournalIdentifier
Packages that use JournalIdentifier
Package
Description
Provides implementation of Journal Service.
-
Uses of JournalIdentifier in com.atlassian.confluence.api.model.journal
Methods in com.atlassian.confluence.api.model.journal that return JournalIdentifierConstructors in com.atlassian.confluence.api.model.journal with parameters of type JournalIdentifierModifierConstructorDescriptionJournalEntry(long id, JournalIdentifier journalId, Date creationDate, String type, @Nullable String message) Creates a new journal entry describing an entry that has been persistedJournalEntry(JournalIdentifier journalId, String type, @Nullable String message) Creates a new journal entry for persisting. -
Uses of JournalIdentifier in com.atlassian.confluence.api.service.index
Methods in com.atlassian.confluence.api.service.index with parameters of type JournalIdentifierModifier and TypeMethodDescriptionbooleanIndexRecoveryService.createIndexBackup(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) Creates an index snapshot in the cluster shared home.booleanIndexRecoveryService.isIndexRecoveryRequired(JournalIdentifier journalId, String indexDirName) Checks to see whether the index needs to be recovered.booleanIndexRecoveryService.recoverIndex(JournalIdentifier journalId, String indexDirName) Recovers the index required by asking other nodes in the cluster for a snapshot of their index and copying it to its local home directory.booleanIndexRecoveryService.recoverIndexFromSharedHome(JournalIdentifier journalId, String indexDirName) Recovers the index snapshot stored in the shared home. -
Uses of JournalIdentifier in com.atlassian.confluence.api.service.journal
Methods in com.atlassian.confluence.api.service.journal with parameters of type JournalIdentifierModifier and TypeMethodDescriptionintJournalService.countEntries(@NonNull JournalIdentifier journalId) Counts the number of entries in a journal.JournalService.peek(@NonNull JournalIdentifier journalId, int maxEntries) Return a copy of journal entries that are waiting to be processed.<V> VJournalService.processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, EntryProcessorResult<V>> entryProcessor) Processes journal entries that were added since the last time this method was called for this journal on this cluster node.voidJournalService.reset(@NonNull JournalIdentifier journalId) Resets the state of the journal so that all entries currently in the journal will be skipped. -
Uses of JournalIdentifier in com.atlassian.confluence.event.events.cluster
Methods in com.atlassian.confluence.event.events.cluster that return JournalIdentifierModifier and TypeMethodDescriptionClusterIndexRequestEvent.getJournalId()ClusterIndexResponseEvent.getJournalId()ClusterIndexSnapshotRequestEvent.getJournalId()Constructors in com.atlassian.confluence.event.events.cluster with parameters of type JournalIdentifierModifierConstructorDescriptionClusterIndexRequestEvent(Object src, String senderNodeId, JournalIdentifier journalId, String buildNumber, String indexDirName) Construct an event to request for a recovery snapshot of the index.ClusterIndexResponseEvent(Object src, String senderNodeId, String receiverNodeId, JournalIdentifier journalId, String indexDirName) Construct an event to indicate that this node can provide a recovery snapshot of the index.ClusterIndexSnapshotRequestEvent(Object src, String senderNodeId, String receiverNodeId, JournalIdentifier journalId, String indexDirName) Construct an event to request for a recovery snapshot of the index. -
Uses of JournalIdentifier in com.atlassian.confluence.impl.index
Methods in com.atlassian.confluence.impl.index with parameters of type JournalIdentifierModifier and TypeMethodDescriptionbooleanDefaultIndexRecoveryService.createIndexBackup(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) booleanNoopIndexRecoveryService.createIndexBackup(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) booleanDefaultIndexRecoveryService.isIndexRecoveryRequired(JournalIdentifier journalId, String indexDirName) booleanNoopIndexRecoveryService.isIndexRecoveryRequired(JournalIdentifier journalId, String indexDirName) <V> VDefaultIndexJournalService.processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, EntryProcessorResult<V>> entryProcessor) booleanDefaultIndexRecoveryService.recoverIndex(JournalIdentifier journalId, String indexDirName) booleanNoopIndexRecoveryService.recoverIndex(JournalIdentifier journalId, String indexDirName) booleanDefaultIndexRecoveryService.recoverIndexFromSharedHome(JournalIdentifier journalId, String indexDirName) booleanNoopIndexRecoveryService.recoverIndexFromSharedHome(JournalIdentifier journalId, String indexDirName) -
Uses of JournalIdentifier in com.atlassian.confluence.impl.journal
Methods in com.atlassian.confluence.impl.journal that return JournalIdentifierMethods in com.atlassian.confluence.impl.journal with parameters of type JournalIdentifierModifier and TypeMethodDescriptionintDefaultJournalManager.countEntries(@NonNull JournalIdentifier journalId) intDefaultJournalService.countEntries(@NonNull JournalIdentifier journalId) intHibernateJournalDao.countEntries(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis) intJournalDao.countEntries(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis) Counts the number of entries in a journal.intJournalManager.countEntries(@NonNull JournalIdentifier journalId) Counts the number of entries in a journal.HibernateJournalDao.findEntries(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis, int maxEntries) JournalDao.findEntries(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis, int maxEntries) Finds journal entries that were added after an entry with the given id but earlier than given milliseconds ago.HibernateJournalDao.findLatestEntry(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) JournalDao.findLatestEntry(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) Finds the latest journal entry if any.HibernateJournalDao.findMostRecentEntryByMessage(@NonNull JournalIdentifier journalId, String message) JournalDao.findMostRecentEntryByMessage(@NonNull JournalIdentifier journalId, String message) Finds the most recent journal entry (if any) for the given journal that exactly matches the given journal entry message.longCachingJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) DefaultJournalManager.getMostRecentId(@NonNull JournalIdentifier journalIdentifier) DefaultJournalService.getMostRecentId(@NonNull JournalIdentifier journalIdentifier) longFilesystemJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) JournalManager.getMostRecentId(@NonNull JournalIdentifier journalIdentifier) Gets the most recent entry in the journal for the given journal identifierJournalServiceInternal.getMostRecentId(@NonNull JournalIdentifier journalIdentifier) This will find and return the latest journal entry for the provided journal ID, if one exists.longJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) Returns the most recent id for a journal or 0 if no id has been stored yet.longPluginSettingsJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) DefaultJournalManager.peek(@NonNull JournalIdentifier journalId, int maxEntries) DefaultJournalService.peek(@NonNull JournalIdentifier journalId, int maxEntries) JournalManager.peek(@NonNull JournalIdentifier journalId, int maxEntries) Return a copy of journal entries that are waiting to be processed.<V> VDefaultJournalManager.processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, @NonNull EntryProcessorResult<V>> entryProcessor) <V> VDefaultJournalService.processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, EntryProcessorResult<V>> entryProcessor) <V> VJournalManager.processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, @NonNull EntryProcessorResult<V>> entryProcessor) Processes journal entries that were added since the last time this method was called for this journal on this cluster node.voidDefaultJournalManager.reset(@NonNull JournalIdentifier journalId) voidDefaultJournalService.reset(@NonNull JournalIdentifier journalId) voidJournalManager.reset(@NonNull JournalIdentifier journalId) Resets the state of the journal so that all entries currently in the journal will be skipped.voidJournalEntry.setJournalId(JournalIdentifier journalId) voidCachingJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) voidDefaultJournalManager.setMostRecentId(@NonNull JournalIdentifier journalIdentifier, long id) voidFilesystemJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) voidJournalManager.setMostRecentId(@NonNull JournalIdentifier journalIdentifier, long id) Stores the most recent journal entry id in the journal storevoidJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) Set the most recent identifier for a journal.voidPluginSettingsJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) Constructors in com.atlassian.confluence.impl.journal with parameters of type JournalIdentifierModifierConstructorDescriptionJournalEntry(JournalIdentifier journalId, String type, @Nullable String message) Creates a new journal entry. -
Uses of JournalIdentifier in com.atlassian.confluence.impl.search.queue
Constructors in com.atlassian.confluence.impl.search.queue with parameters of type JournalIdentifierModifierConstructorDescriptionChangeIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDaoInternal anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier, PrefetchDocumentBuilder prefetchedDocumentBuilder) ContentIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDaoInternal anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier, PrefetchDocumentBuilder prefetchedDocumentBuilder) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync
Method parameters in com.atlassian.confluence.internal.api.impl.service.incrementalsync with type arguments of type JournalIdentifierModifier and TypeMethodDescription<E> voidAbstractIncrementalSyncService.handleEventForSubscription(E event, Consumer<JournalIdentifier> processor) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement
Methods in com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement that return types with arguments of type JournalIdentifierModifier and TypeMethodDescriptionCollection<? extends JournalIdentifier> ContentManagementIncrementalSyncServiceImpl.getManagedJournalIdentifier()Method parameters in com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement with type arguments of type JournalIdentifierModifier and TypeMethodDescription<E> voidContentManagementIncrementalSyncServiceImpl.handleEventForSubscription(E event, Consumer<JournalIdentifier> processor) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync.globalpermissionmanagement
Methods in com.atlassian.confluence.internal.api.impl.service.incrementalsync.globalpermissionmanagement that return types with arguments of type JournalIdentifierModifier and TypeMethodDescriptionCollection<? extends JournalIdentifier> GlobalPermissionManagementIncrementalSyncServiceImpl.getManagedJournalIdentifier() -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync.journal
Subclasses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync.journalModifier and TypeClassDescriptionclassJournal identifier which based on both journal name and subscription idclassThis will identify that we will have 1 Journal per SubscriptionMethods in com.atlassian.confluence.internal.api.impl.service.incrementalsync.journal with parameters of type JournalIdentifierModifier and TypeMethodDescriptionvoidServerSubscriptionJournalStateStore.cleanUpSubscriptions(JournalIdentifier identifier, long ttlInMillis) voidSubscriptionJournalStateStore.cleanUpSubscriptions(JournalIdentifier journalIdentifier, long ttlInMillis) A Utility which helps to clean up expired subscriptions and deleted subscriptionvoidServerSubscriptionJournalStateStore.deactivateSubscription(@NonNull JournalIdentifier journalId) voidSubscriptionJournalStateStore.deactivateSubscription(@NonNull JournalIdentifier journalId) Mark a subscription as deactivate so later onIncrementalSyncCleanerwill clean itlongClientSubscriptionJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) longServerSubscriptionJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) booleanServerSubscriptionJournalStateStore.removeSubscriptionStateData(@NonNull JournalIdentifier journalId) booleanSubscriptionJournalStateStore.removeSubscriptionStateData(@NonNull JournalIdentifier journalId) Remove a particular subscription from data storevoidServerSubscriptionJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement
Methods in com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement that return types with arguments of type JournalIdentifierModifier and TypeMethodDescriptionCollection<? extends JournalIdentifier> UserManagementIncrementalSyncServiceImpl.getManagedJournalIdentifier() -
Uses of JournalIdentifier in com.atlassian.confluence.internal.api.service.incrementalsync
Methods in com.atlassian.confluence.internal.api.service.incrementalsync that return types with arguments of type JournalIdentifierModifier and TypeMethodDescriptionCollection<? extends JournalIdentifier> IncrementalSyncCleaner.getManagedJournalIdentifier()Return all Journal Entry names which is managed by this service including all deleted SubscriptionMethod parameters in com.atlassian.confluence.internal.api.service.incrementalsync with type arguments of type JournalIdentifierModifier and TypeMethodDescription<E> voidIncrementalSyncService.handleEventForSubscription(E event, Consumer<JournalIdentifier> processor) Based on input event this method will find a corresponding subscription which would like to handle it. -
Uses of JournalIdentifier in com.atlassian.confluence.internal.index
Methods in com.atlassian.confluence.internal.index that return JournalIdentifier -
Uses of JournalIdentifier in com.atlassian.confluence.internal.index.lucene.snapshot
Methods in com.atlassian.confluence.internal.index.lucene.snapshot that return JournalIdentifierMethods in com.atlassian.confluence.internal.index.lucene.snapshot with parameters of type JournalIdentifierModifier and TypeMethodDescriptionDefaultLuceneIndexSnapshotManager.create(JournalIdentifier journalIdentifier) LuceneIndexSnapshotManager.create(JournalIdentifier journalIdentifier) Create a new Lucene index snapshot for given journal (index)DefaultLuceneIndexSnapshotManager.find(JournalIdentifier journalIdentifier, long journalEntryId) DefaultLuceneIndexSnapshotManager.find(JournalIdentifier journalIdentifier, long journalEntryId, long timeoutMs) LuceneIndexSnapshotManager.find(JournalIdentifier journalIdentifier, long journalEntryId) Find a specific index snapshot corresponding to a journal entry ID.LuceneIndexSnapshotManager.find(JournalIdentifier journalIdentifier, long journalEntryId, long waitTimeMs) Find a specific index snapshot corresponding to a journal entry ID.DefaultLuceneIndexSnapshotManager.findForJournal(JournalIdentifier journalIdentifier) LuceneIndexSnapshotManager.findForJournal(JournalIdentifier journalIdentifier) Constructors in com.atlassian.confluence.internal.index.lucene.snapshot with parameters of type JournalIdentifierModifierConstructorDescriptionLuceneIndexSnapshot(JournalIdentifier journalIdentifier, long journalEntryId) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.search.queue
Fields in com.atlassian.confluence.internal.search.queue declared as JournalIdentifierModifier and TypeFieldDescriptionstatic final JournalIdentifierAbstractJournalIndexTaskQueue.CHANGE_JOURNAL_IDDeprecated.since 7.9.0.static final JournalIdentifierAbstractJournalIndexTaskQueue.CONTENT_JOURNAL_IDDeprecated.since 7.9.0.protected final JournalIdentifierAbstractJournalIndexTaskQueue.journalIdentifierMethods in com.atlassian.confluence.internal.search.queue that return JournalIdentifierConstructors in com.atlassian.confluence.internal.search.queue with parameters of type JournalIdentifierModifierConstructorDescriptionAbstractJournalIndexTaskQueue(JournalService journalService, AnyTypeDaoInternal anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier) JournalIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDaoInternal anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier) -
Uses of JournalIdentifier in com.atlassian.confluence.internal.search.tasks
Methods in com.atlassian.confluence.internal.search.tasks with parameters of type JournalIdentifierModifier and TypeMethodDescriptionAddChangeDocumentIndexTask.convertToJournalEntry(JournalIdentifier journalId) AddDocumentIndexTask.convertToJournalEntry(JournalIdentifier journalId) final Optional<JournalEntry> ContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) DeleteChangeDocumentsIndexTask.convertToJournalEntry(JournalIdentifier journalId) DeleteDocumentIndexTask.convertToJournalEntry(JournalIdentifier journalId) NoOpIndexTask.convertToJournalEntry(JournalIdentifier journalId) RebuildChangeDocumentsIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllBlogsChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllBlogsContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllSpacesChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllSpacesContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllUsersChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexAllUsersContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexPermissionsIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexUsersInGroupChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) ReindexUsersInGroupContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) UnindexContentTypeChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) UnindexContentTypeContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) UnIndexSpaceChangeIndexTask.convertToJournalEntry(JournalIdentifier journalId) UnIndexSpaceContentIndexTask.convertToJournalEntry(JournalIdentifier journalId) UpdateDocumentIndexTask.convertToJournalEntry(JournalIdentifier journalId) -
Uses of JournalIdentifier in com.atlassian.confluence.plugin.descriptor
Methods in com.atlassian.confluence.plugin.descriptor that return JournalIdentifier -
Uses of JournalIdentifier in com.atlassian.confluence.plugins.edgeindex
Methods in com.atlassian.confluence.plugins.edgeindex with parameters of type JournalIdentifierModifier and TypeMethodDescriptiondefault Optional<JournalEntry> EdgeIndexTask.convertToJournalEntry(JournalIdentifier journalIdentifier) This default method returns an emptyOptionalobject because an index task for an edge will be serialised and stored as the entry message when being queued. -
Uses of JournalIdentifier in com.atlassian.confluence.plugins.opensearch
Methods in com.atlassian.confluence.plugins.opensearch with parameters of type JournalIdentifierModifier and TypeMethodDescriptionlongOpenSearchJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) voidOpenSearchJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) -
Uses of JournalIdentifier in com.atlassian.confluence.search
Methods in com.atlassian.confluence.search with parameters of type JournalIdentifierModifier and TypeMethodDescriptionConvertibleToJournalEntry.convertToJournalEntry(JournalIdentifier journalId) Convert to journal entry. -
Uses of JournalIdentifier in com.atlassian.confluence.search.queue
Methods in com.atlassian.confluence.search.queue with parameters of type JournalIdentifierModifier and TypeMethodDescriptionstatic Optional<JournalEntry> JournalEntryFactory.createJournalEntry(JournalIdentifier journalId, JournalEntryType journalEntryType, String message)