Package com.atlassian.jira.index.ha
Class DefaultReplicatedIndexManager.ReindexMetadataFilesProvider
java.lang.Object
com.atlassian.jira.index.ha.DefaultReplicatedIndexManager.ReindexMetadataFilesProvider
- All Implemented Interfaces:
TemporaryFilesProvider
- Enclosing class:
- DefaultReplicatedIndexManager
public static class DefaultReplicatedIndexManager.ReindexMetadataFilesProvider
extends Object
implements TemporaryFilesProvider
A contribution to the index backup, which writes metadata about the re-index
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwriteContribution(File indexDir) Write files into the given directory
-
Constructor Details
-
ReindexMetadataFilesProvider
public ReindexMetadataFilesProvider(long replayFromTimestamp)
-
-
Method Details
-
writeContribution
Description copied from interface:TemporaryFilesProviderWrite files into the given directory- Specified by:
writeContributionin interfaceTemporaryFilesProvider- Parameters:
indexDir- preferably, a temporary directory to write contribution files into- Returns:
- locations of files was written to
- Throws:
IOException- if the contribution cannot be written
-