
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 |
enabled| Constructor and Description |
|---|
OAutomaticBackup() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeConfig(ODocument document) |
void |
config(OServer iServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
protected void |
exportDatabase(String dbURL,
String iPath,
ODatabaseDocumentInternal db) |
protected void |
fullBackupDatabase(String dbURL,
String iPath,
ODatabaseDocumentInternal db) |
ODocument |
getConfig() |
protected String |
getFileName(Map.Entry<String,String> dbName) |
String |
getName() |
protected void |
incrementalBackupDatabase(String dbURL,
String iPath,
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, ODatabaseDocumentInternal db) throws IOException
IOExceptionprotected void fullBackupDatabase(String dbURL, String iPath, ODatabaseDocumentInternal db) throws IOException
IOExceptionprotected void exportDatabase(String dbURL, String iPath, ODatabaseDocumentInternal db) throws IOException
IOExceptionpublic ODocument getConfig()
getConfig in interface OServerPluginConfigurablepublic void changeConfig(ODocument document)
changeConfig in interface OServerPluginConfigurablepublic void registerListener(OAutomaticBackup.OAutomaticBackupListener listener)
public void unregisterListener(OAutomaticBackup.OAutomaticBackupListener listener)
Copyright © 2009–2025 OrientDB. All rights reserved.