Uses of Class
com.atlassian.confluence.api.model.journal.JournalIdentifier
-
-
Uses of JournalIdentifier in com.atlassian.confluence.api.model.journal
Methods in com.atlassian.confluence.api.model.journal that return JournalIdentifier Modifier and Type Method Description JournalIdentifier
JournalEntry. getJournalId()
Constructors in com.atlassian.confluence.api.model.journal with parameters of type JournalIdentifier Constructor Description JournalEntry(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 JournalIdentifier Modifier and Type Method Description boolean
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 JournalIdentifier Modifier and Type Method Description int
JournalService. countEntries(@NonNull JournalIdentifier journalId)
Counts the number of entries in a journal.Iterable<JournalEntry>
JournalService. peek(@NonNull JournalIdentifier journalId, int maxEntries)
Return a copy of journal entries that are waiting to be processed.<V> V
JournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Deprecated.since 7.0.1.default <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 JournalIdentifier Modifier and Type Method Description JournalIdentifier
ClusterIndexRequestEvent. getJournalId()
JournalIdentifier
ClusterIndexResponseEvent. getJournalId()
JournalIdentifier
ClusterIndexSnapshotRequestEvent. getJournalId()
Constructors in com.atlassian.confluence.event.events.cluster with parameters of type JournalIdentifier Constructor Description ClusterIndexRequestEvent(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 JournalIdentifier Modifier and Type Method Description boolean
DefaultIndexRecoveryService. createIndexBackup(JournalIdentifier journalId, String indexDirName, IndexRecoverer indexRecoverer)
boolean
DefaultIndexRecoveryService. isIndexRecoveryRequired(JournalIdentifier journalId, String indexDirName)
boolean
DefaultIndexRecoveryService. recoverIndex(JournalIdentifier journalId, String indexDirName)
boolean
DefaultIndexRecoveryService. recoverIndexFromSharedHome(JournalIdentifier journalId, String indexDirName)
-
Uses of JournalIdentifier in com.atlassian.confluence.impl.journal
Methods in com.atlassian.confluence.impl.journal that return JournalIdentifier Modifier and Type Method Description JournalIdentifier
JournalEntry. getJournalId()
Methods in com.atlassian.confluence.impl.journal with parameters of type JournalIdentifier Modifier and Type Method Description int
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.List<JournalEntry>
HibernateJournalDao. findEntries(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis, int maxEntries)
List<JournalEntry>
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)
long
FilesystemJournalStateStore. getMostRecentId(@NonNull JournalIdentifier journalId)
long
JournalStateStore. getMostRecentId(@NonNull JournalIdentifier journalId)
Returns the most recent id for a journal or 0 if no id has been stored yet.Iterable<JournalEntry>
DefaultJournalManager. peek(@NonNull JournalIdentifier journalId, int maxEntries)
Iterable<JournalEntry>
DefaultJournalService. peek(@NonNull JournalIdentifier journalId, int maxEntries)
Iterable<JournalEntry>
JournalManager. peek(@NonNull JournalIdentifier journalId, int maxEntries)
Return a copy of journal entries that are waiting to be processed.<V> V
DefaultJournalManager. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,@NonNull EntryProcessorResult<V>> entryProcessor)
Deprecated.since 7.0.1.<V> V
DefaultJournalService. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
<V> V
JournalManager. processEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull com.google.common.base.Function<Iterable<JournalEntry>,@NonNull EntryProcessorResult<V>> entryProcessor)
Deprecated.since 7.0.1.<V> V
DefaultJournalManager. processNewEntries(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>,@NonNull EntryProcessorResult<V>> entryProcessor)
default <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
FilesystemJournalStateStore. setMostRecentId(@NonNull JournalIdentifier journalId, long id)
void
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 JournalIdentifier Constructor Description JournalEntry(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 JournalIdentifier Constructor Description ChangeIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier)
ContentIndexTaskQueue(JournalService journalService, IndexTaskFactoryInternal indexTaskFactory, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, JournalIdentifier journalIdentifier)
-
Uses of JournalIdentifier in com.atlassian.confluence.impl.upgrade.upgradetask
Constructors in com.atlassian.confluence.impl.upgrade.upgradetask with parameters of type JournalIdentifier Constructor Description SplitJournalUpgradeTask(@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 Modifier and Type Method Description JournalIdentifier
Index. getJournalIdentifier()
-
Uses of JournalIdentifier in com.atlassian.confluence.internal.index.lucene.snapshot
Methods in com.atlassian.confluence.internal.index.lucene.snapshot that return JournalIdentifier Modifier and Type Method Description JournalIdentifier
LuceneIndexSnapshot. getJournalIdentifier()
Methods in com.atlassian.confluence.internal.index.lucene.snapshot with parameters of type JournalIdentifier Modifier and Type Method Description LuceneIndexSnapshot
DefaultLuceneIndexSnapshotManager. create(JournalIdentifier journalIdentifier)
LuceneIndexSnapshot
LuceneIndexSnapshotManager. create(JournalIdentifier journalIdentifier)
Create a new Lucene index snapshot for given journal (index)Optional<LuceneIndexSnapshot>
DefaultLuceneIndexSnapshotManager. find(JournalIdentifier journalIdentifier, long journalEntryId)
Optional<LuceneIndexSnapshot>
DefaultLuceneIndexSnapshotManager. find(JournalIdentifier journalIdentifier, long journalEntryId, long timeoutMs)
Optional<LuceneIndexSnapshot>
LuceneIndexSnapshotManager. find(JournalIdentifier journalIdentifier, long journalEntryId)
Find a specific index snapshot corresponding to a journal entry ID.Optional<LuceneIndexSnapshot>
LuceneIndexSnapshotManager. find(JournalIdentifier journalIdentifier, long journalEntryId, long waitTimeMs)
Find a specific index snapshot corresponding to a journal entry ID.List<LuceneIndexSnapshot>
DefaultLuceneIndexSnapshotManager. findForJournal(JournalIdentifier journalIdentifier)
List<LuceneIndexSnapshot>
LuceneIndexSnapshotManager. findForJournal(JournalIdentifier journalIdentifier)
Constructors in com.atlassian.confluence.internal.index.lucene.snapshot with parameters of type JournalIdentifier Constructor Description LuceneIndexSnapshot(JournalIdentifier journalIdentifier, long journalEntryId)
-
Uses of JournalIdentifier in com.atlassian.confluence.internal.search.queue
Fields in com.atlassian.confluence.internal.search.queue declared as JournalIdentifier Modifier and Type Field Description static JournalIdentifier
AbstractJournalIndexTaskQueue. CHANGE_JOURNAL_ID
Deprecated.since 7.9.0.static JournalIdentifier
AbstractJournalIndexTaskQueue. CONTENT_JOURNAL_ID
Deprecated.since 7.9.0.protected JournalIdentifier
AbstractJournalIndexTaskQueue. journalIdentifier
Constructors in com.atlassian.confluence.internal.search.queue with parameters of type JournalIdentifier Constructor Description AbstractJournalIndexTaskQueue(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
-
Uses of JournalIdentifier in com.atlassian.confluence.plugin.descriptor
Methods in com.atlassian.confluence.plugin.descriptor that return JournalIdentifier Modifier and Type Method Description JournalIdentifier
IndexRecovererModuleDescriptor. getJournalId()
-
Uses of JournalIdentifier in com.atlassian.confluence.plugins.edgeindex
Methods in com.atlassian.confluence.plugins.edgeindex with parameters of type JournalIdentifier Modifier and Type Method Description default 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.search
Methods in com.atlassian.confluence.search with parameters of type JournalIdentifier Modifier and Type Method Description Optional<JournalEntry>
ConvertibleToJournalEntry. 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 JournalIdentifier Modifier and Type Method Description static 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 JournalIdentifier Constructor Description SplitIndexUpgradeTask(@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 JournalIdentifier Constructor Description SplitIndexSnapshotManager(LuceneIndexSnapshotManager snapshotManager, JournalDao journalDao, ClusterManager clusterManager, JournalIdentifier contentIdentifier, JournalIdentifier changeIdentifier)
-