public class DefaultIndexSnapshotOperator extends Object implements IndexSnapshotOperator
IndexSnapshotOperator
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATE_FORMAT |
Constructor and Description |
---|
DefaultIndexSnapshotOperator(FileStores fileStores,
IndexUtils indexUtils,
org.ofbiz.core.entity.DelegatorInterface delegatorInterface,
com.atlassian.beehive.ClusterLockService clusterLockService,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
IndexSnapshotCreationResult |
forceCreateSnapshot() |
IndexSnapshotCreationResult |
forceCreateSnapshot(TemporaryFilesProvider temporaryFilesProvider,
String notifyNode) |
boolean |
isIndexSnapshotRunning() |
List<File> |
listIndexSnapshotFiles()
Lists all files representing currently available index snapshots.
|
void |
onPluginFrameworkShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) |
IndexSnapshotAsyncStartResult |
performIndexSnapshotBackupAndCleanupAsync()
Triggers creation of a jira snapshot index.
|
IndexSnapshotCreationResult |
tryCreateSnapshot() |
public static final String DEFAULT_DATE_FORMAT
public DefaultIndexSnapshotOperator(FileStores fileStores, IndexUtils indexUtils, org.ofbiz.core.entity.DelegatorInterface delegatorInterface, com.atlassian.beehive.ClusterLockService clusterLockService, @Nonnull com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, JiraProperties jiraProperties)
public IndexSnapshotCreationResult forceCreateSnapshot()
forceCreateSnapshot
in interface IndexSnapshotOperator
public IndexSnapshotCreationResult forceCreateSnapshot(TemporaryFilesProvider temporaryFilesProvider, String notifyNode)
forceCreateSnapshot
in interface IndexSnapshotOperator
public IndexSnapshotCreationResult tryCreateSnapshot()
tryCreateSnapshot
in interface IndexSnapshotOperator
public IndexSnapshotAsyncStartResult performIndexSnapshotBackupAndCleanupAsync()
IndexSnapshotOperator
performIndexSnapshotBackupAndCleanupAsync
in interface IndexSnapshotOperator
public List<File> listIndexSnapshotFiles()
IndexSnapshotOperator
listIndexSnapshotFiles
in interface IndexSnapshotOperator
public boolean isIndexSnapshotRunning()
isIndexSnapshotRunning
in interface IndexSnapshotOperator
@EventListener public void onPluginFrameworkShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
Copyright © 2002-2023 Atlassian. All Rights Reserved.