![JAR search and dependency download from the Maven repository](/logo.png)
com.autonomy.nonaci.indexing.impl.DreFlushAndPauseCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of indexing-api Show documentation
Show all versions of indexing-api Show documentation
API for indexing into IDOL using Java
/*
* (c) Copyright 2008-2015 Micro Focus or one of its affiliates.
*
* Licensed under the MIT License (the "License"); you may not use this file
* except in compliance with the License.
*
* The only warranties for products and services of Micro Focus and its affiliates
* and licensors ("Micro Focus") are as may be set forth in the express warranty
* statements accompanying such products and services. Nothing herein should be
* construed as constituting an additional warranty. Micro Focus shall not be
* liable for technical or editorial errors or omissions contained herein. The
* information contained herein is subject to change without notice.
*/
package com.autonomy.nonaci.indexing.impl;
/**
* Prepares IDOL server for a snapshot (hot backup). IDOL server flushes all files to disk and pauses indexing, so a
* snapshot of the data can be taken. This command is most applicable if your IDOL storage is a SAN with disk-snapshot
* capabilities.
*
* Note the index ID returned from this command (for example, INDEXID=41) because you will need this
* ID to restart the paused indexing queue.
*
* After issuing the command, poll IDOL server with the IndexerGetStatus command until the returned
* status is -16 (Indexing Paused). You can then perform the snapshot.
*
* After the hot backup completes, restart the indexing queue, again with the IndexerGetStatus command
* and with the index ID returned from DREFLUSHANDPAUSE. For example:
*
* http://Hume:20000/action=IndexerGetStatus&index=41&IndexAction=restart
*
* @author boba
*/
public class DreFlushAndPauseCommand extends IndexCommandImpl {
/** Creates a new instance of DreFlushAndPauseCommand. */
public DreFlushAndPauseCommand() {
super(CMD_DREFLUSHANDPAUSE);
}
} // End of class DreFlushAndPauseCommand...
© 2015 - 2025 Weber Informatics LLC | Privacy Policy