
public class OAutomaticBackup extends OServerPluginAbstract implements OServerPluginConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
OAutomaticBackup.MODE |
static interface |
OAutomaticBackup.OAutomaticBackupListener |
static class |
OAutomaticBackup.VARIABLES |
| Constructor and Description |
|---|
OAutomaticBackup() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeConfig(com.orientechnologies.orient.core.record.impl.ODocument document) |
void |
config(OServer iServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
protected void |
exportDatabase(String dbURL,
String iPath,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) |
protected void |
fullBackupDatabase(String dbURL,
String iPath,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) |
com.orientechnologies.orient.core.record.impl.ODocument |
getConfig() |
protected String |
getFileName(Map.Entry<String,String> dbName) |
String |
getName() |
protected void |
incrementalBackupDatabase(String dbURL,
String iPath,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) |
void |
registerListener(OAutomaticBackup.OAutomaticBackupListener listener) |
void |
unregisterListener(OAutomaticBackup.OAutomaticBackupListener listener) |
getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown, shutdown, startuppublic void config(OServer iServer, OServerParameterConfiguration[] iParams)
OServerPluginconfig in interface OServerPluginconfig in class OServerPluginAbstractprotected void incrementalBackupDatabase(String dbURL, String iPath, com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) throws IOException
IOExceptionprotected void fullBackupDatabase(String dbURL, String iPath, com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) throws IOException
IOExceptionprotected void exportDatabase(String dbURL, String iPath, com.orientechnologies.orient.core.db.ODatabaseDocumentInternal db) throws IOException
IOExceptionpublic String getName()
getName in interface com.orientechnologies.common.util.OServicepublic com.orientechnologies.orient.core.record.impl.ODocument getConfig()
getConfig in interface OServerPluginConfigurablepublic void changeConfig(com.orientechnologies.orient.core.record.impl.ODocument document)
changeConfig in interface OServerPluginConfigurablepublic void registerListener(OAutomaticBackup.OAutomaticBackupListener listener)
public void unregisterListener(OAutomaticBackup.OAutomaticBackupListener listener)
Copyright © 2009–2016 OrientDB. All rights reserved.