public class RestoreBackupProcess extends BaseProcess implements BackupConstants
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInputStream |
m_reader |
m_propertiesm_messageFilterList, m_recordOwnerCollection, m_taskParent, m_vRecordListBACKUP_QUEUE_NAME, BACKUP_QUEUE_TYPE, DEFAULT_PATTERN, DEFAULT_REGEX, MESSAGE_PARAM, NOTRX, SENDMASTER, SLAVE| Constructor and Description |
|---|
RestoreBackupProcess()
Default constructor.
|
RestoreBackupProcess(RecordOwnerParent taskParent,
Record recordMain,
Map<String,Object> properties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableAllListeners(Record record)
DisableAllListeners Method.
|
String[] |
getFileList()
Get the list of files to read thru and import.
|
ObjectInputStream |
getReader(String strFilename)
Get the backup stream writer.
|
void |
init(RecordOwnerParent taskParent,
Record recordMain,
Map<String,Object> properties)
Initialize class fields.
|
Record |
openMainRecord()
Open the main file.
|
void |
openOtherRecords()
Open the other files.
|
void |
run()
Add this data to the backup stream.
|
free, getProperties, getProperty, handleMessage, retrieveUserProperties, setProperties, setPropertyaddDatabase, addListenerMessageFilter, addListeners, addRecord, addRecord, addRecordOwner, addScreenRecord, getDatabase, getDatabaseOwner, getEnvironment, getListenerMessageFilter, getMainRecord, getMasterSlave, getParentRecordOwner, getRecord, getScreenRecord, getTask, init, isBatch, isThinListener, removeDatabase, removeListenerMessageFilter, removeRecord, removeRecordOwner, setScreenRecordprotected ObjectInputStream m_reader
public RestoreBackupProcess()
public RestoreBackupProcess(RecordOwnerParent taskParent, Record recordMain, Map<String,Object> properties)
public void init(RecordOwnerParent taskParent, Record recordMain, Map<String,Object> properties)
init in class BaseProcesspublic Record openMainRecord()
openMainRecord in class BaseRecordOwnerpublic void openOtherRecords()
openOtherRecords in class BaseRecordOwnerpublic void run()
run in class BaseProcessstrMessage - the data to log.public String[] getFileList()
public ObjectInputStream getReader(String strFilename)
public void disableAllListeners(Record record)
Copyright © 2013 jbundle.org. All Rights Reserved.