Class Overview
Backs up the index to the shared home folder
Summary
Public Methods |
void
|
backupIndex(String requestingNode)
Backs up all the index files from local home to shared home.
|
void
|
restoreIndex(String filePath)
copy all the index files form shared home into local home.
|
Constants
public
static
final
String
BACKUP_INDEX
Constant Value:
"Backup Index"
public
static
final
String
BACKUP_INDEX_DONE
Constant Value:
"Index Backed Up"
protected
static
final
String
INDEX_SNAPSHOT
Constant Value:
"IndexSnapshot_"
Public Constructors
Public Methods
public
void
backupIndex
(String requestingNode)
Backs up all the index files from local home to shared home. Any index in shared home will be cleared.
Parameters
requestingNode
| Node requesting the index
|
public
void
restoreIndex
(String filePath)
copy all the index files form shared home into local home.
Parameters
filePath
| path of the zip file containing the index backup.
|