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 TypeMethodDescriptionboolean
IndexRecoveryService.createIndexBackup
(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) Creates an index snapshot in the cluster shared home.boolean
IndexRecoveryService.isIndexRecoveryRequired
(JournalIdentifier journalId, String indexDirName) Checks to see whether the index needs to be recovered.boolean
IndexRecoveryService.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.boolean
IndexRecoveryService.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 TypeMethodDescriptionint
JournalService.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> V
JournalService.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.void
JournalService.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 TypeMethodDescriptionboolean
DefaultIndexRecoveryService.createIndexBackup
(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) boolean
NoopIndexRecoveryService.createIndexBackup
(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer) boolean
DefaultIndexRecoveryService.isIndexRecoveryRequired
(JournalIdentifier journalId, String indexDirName) boolean
NoopIndexRecoveryService.isIndexRecoveryRequired
(JournalIdentifier journalId, String indexDirName) <V> V
DefaultIndexJournalService.processNewEntries
(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, EntryProcessorResult<V>> entryProcessor) boolean
DefaultIndexRecoveryService.recoverIndex
(JournalIdentifier journalId, String indexDirName) boolean
NoopIndexRecoveryService.recoverIndex
(JournalIdentifier journalId, String indexDirName) boolean
DefaultIndexRecoveryService.recoverIndexFromSharedHome
(JournalIdentifier journalId, String indexDirName) boolean
NoopIndexRecoveryService.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 TypeMethodDescriptionint
DefaultJournalManager.countEntries
(@NonNull JournalIdentifier journalId) int
DefaultJournalService.countEntries
(@NonNull JournalIdentifier journalId) int
HibernateJournalDao.countEntries
(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis) int
JournalDao.countEntries
(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis) Counts the number of entries in a journal.int
JournalManager.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.long
BandanaJournalStateStore.getMostRecentId
(@NonNull JournalIdentifier journalId) long
CachingJournalStateStore.getMostRecentId
(@NonNull JournalIdentifier journalId) DefaultJournalManager.getMostRecentId
(@NonNull JournalIdentifier journalIdentifier) DefaultJournalService.getMostRecentId
(@NonNull JournalIdentifier journalIdentifier) long
FilesystemJournalStateStore.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.long
JournalStateStore.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> V
DefaultJournalManager.processNewEntries
(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, @NonNull EntryProcessorResult<V>> entryProcessor) <V> V
DefaultJournalService.processNewEntries
(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, EntryProcessorResult<V>> entryProcessor) <V> V
JournalManager.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.void
DefaultJournalManager.reset
(@NonNull JournalIdentifier journalId) void
DefaultJournalService.reset
(@NonNull JournalIdentifier journalId) void
JournalManager.reset
(@NonNull JournalIdentifier journalId) Resets the state of the journal so that all entries currently in the journal will be skipped.void
JournalEntry.setJournalId
(JournalIdentifier journalId) void
BandanaJournalStateStore.setMostRecentId
(@NonNull JournalIdentifier journalId, long id) void
CachingJournalStateStore.setMostRecentId
(@NonNull JournalIdentifier journalId, long id) void
DefaultJournalManager.setMostRecentId
(@NonNull JournalIdentifier journalIdentifier, long id) void
FilesystemJournalStateStore.setMostRecentId
(@NonNull JournalIdentifier journalId, long id) void
JournalManager.setMostRecentId
(@NonNull JournalIdentifier journalIdentifier, long id) Stores the most recent journal entry id in the journal storevoid
JournalStateStore.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) ContentIndexTaskQueue
(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier, PrefetchDocumentBuilder prefetchedDocumentBuilder) -
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.api.impl.service.incrementalsync
Method parameters in com.atlassian.confluence.internal.api.impl.service.incrementalsync with type arguments of type JournalIdentifierModifier and TypeMethodDescription<E> void
AbstractIncrementalSyncService.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> void
ContentManagementIncrementalSyncServiceImpl.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 TypeClassDescriptionclass
Journal identifier which based on both journal name and subscription idclass
This 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 TypeMethodDescriptionvoid
ServerSubscriptionJournalStateStore.cleanUpSubscriptions
(JournalIdentifier identifier, long ttlInMillis) void
SubscriptionJournalStateStore.cleanUpSubscriptions
(JournalIdentifier journalIdentifier, long ttlInMillis) A Utility which helps to clean up expired subscriptions and deleted subscriptionvoid
ServerSubscriptionJournalStateStore.deactivateSubscription
(@NonNull JournalIdentifier journalId) void
SubscriptionJournalStateStore.deactivateSubscription
(@NonNull JournalIdentifier journalId) Mark a subscription as deactivate so later onIncrementalSyncCleaner
will clean itlong
ClientSubscriptionJournalStateStore.getMostRecentId
(@NonNull JournalIdentifier journalId) long
ServerSubscriptionJournalStateStore.getMostRecentId
(@NonNull JournalIdentifier journalId) boolean
ServerSubscriptionJournalStateStore.removeSubscriptionStateData
(@NonNull JournalIdentifier journalId) boolean
SubscriptionJournalStateStore.removeSubscriptionStateData
(@NonNull JournalIdentifier journalId) Remove a particular subscription from data storevoid
ServerSubscriptionJournalStateStore.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> void
IncrementalSyncService.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 JournalIdentifier
AbstractJournalIndexTaskQueue.CHANGE_JOURNAL_ID
Deprecated.since 7.9.0.static final JournalIdentifier
AbstractJournalIndexTaskQueue.CONTENT_JOURNAL_ID
Deprecated.since 7.9.0.protected final JournalIdentifier
AbstractJournalIndexTaskQueue.journalIdentifier
Methods 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) 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 emptyOptional
object 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 TypeMethodDescriptionlong
OpenSearchJournalStateStore.getMostRecentId
(@NonNull JournalIdentifier journalId) void
OpenSearchJournalStateStore.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)