
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(com.orientechnologies.orient.core.record.impl.ODocument document) |
void |
config(OServer iServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
protected void |
exportDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db) |
protected void |
fullBackupDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db) |
com.orientechnologies.orient.core.record.impl.ODocument |
getConfig() |
protected java.lang.String |
getFileName(java.util.Map.Entry<java.lang.String,java.lang.String> dbName) |
java.lang.String |
getName() |
protected void |
incrementalBackupDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db) |
void |
registerListener(OAutomaticBackup.OAutomaticBackupListener listener) |
void |
unregisterListener(OAutomaticBackup.OAutomaticBackupListener listener) |
getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown, shutdown, startupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonSocketAccepted, onSocketDestroyedpublic void config(OServer iServer, OServerParameterConfiguration[] iParams)
OServerPluginconfig in interface OServerPluginconfig in class OServerPluginAbstractprotected void incrementalBackupDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db)
throws java.io.IOException
java.io.IOExceptionprotected void fullBackupDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db)
throws java.io.IOException
java.io.IOExceptionprotected void exportDatabase(java.lang.String dbURL,
java.lang.String iPath,
ODatabaseDocumentInternal db)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getFileName(java.util.Map.Entry<java.lang.String,java.lang.String> dbName)
public java.lang.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–2022 OrientDB. All rights reserved.