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.com.atlassian.fugue.Option<JournalEntry>HibernateJournalDao.findLatestEntry(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) com.atlassian.fugue.Option<JournalEntry>JournalDao.findLatestEntry(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) Finds the latest journal entry if any.com.atlassian.fugue.Option<JournalEntry>HibernateJournalDao.findMostRecentEntryByMessage(@NonNull JournalIdentifier journalId, String message) com.atlassian.fugue.Option<JournalEntry>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.longBandanaJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) longCachingJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) DefaultJournalManager.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 identifierlongJournalStateStore.getMostRecentId(@NonNull JournalIdentifier journalId) Returns the most recent id for a journal or 0 if no id has been stored yet.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) voidBandanaJournalStateStore.setMostRecentId(@NonNull JournalIdentifier journalId, long id) 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.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, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) ContentIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier, PrefetchDocumentBuilder prefetchedDocumentBuilder, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager) -
Uses of JournalIdentifier in com.atlassian.confluence.impl.upgrade.upgradetask
Constructors in com.atlassian.confluence.impl.upgrade.upgradetask with parameters of type JournalIdentifierModifierConstructorDescriptionSplitJournalUpgradeTask(@NonNull DdlExecutor ddlExecutor, @NonNull JournalStateStore journalStateStore, @NonNull JournalIdentifier contentJournalIdentifier, @NonNull JournalIdentifier changeJournalIdentifier, @NonNull org.hibernate.SessionFactory sessionFactory, @NonNull IndexTaskFactoryInternal indexTaskFactory, @NonNull JournalIndexTaskQueue changeQueue) -
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, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier) JournalIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDao 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) 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) -
Uses of JournalIdentifier in com.atlassian.confluence.upgrade.upgradetask
Constructors in com.atlassian.confluence.upgrade.upgradetask with parameters of type JournalIdentifierModifierConstructorDescriptionSplitIndexUpgradeTask(@NonNull ILuceneConnection contentConnection, @NonNull ILuceneConnection changesConnection, @NonNull I18NBeanFactory i18NBeanFactory, @NonNull JournalStateStore journalStateStore, @NonNull JournalIdentifier contentJournalIdentifier, @NonNull JournalIdentifier changeJournalIdentifier, @NonNull SplitIndexSnapshotManager snapshotManager) Creates a new SplitIndexUpgradeTask that will split the index. -
Uses of JournalIdentifier in com.atlassian.confluence.upgrade.upgradetask.splitindex
Constructors in com.atlassian.confluence.upgrade.upgradetask.splitindex with parameters of type JournalIdentifierModifierConstructorDescriptionSplitIndexSnapshotManager(LuceneIndexSnapshotManager snapshotManager, JournalDao journalDao, ClusterManager clusterManager, JournalIdentifier contentIdentifier, JournalIdentifier changeIdentifier)