public class OBackgroundBackup extends Object implements Runnable, OSyncSource
Modifier and Type | Field and Description |
---|---|
boolean |
valid |
Constructor and Description |
---|
OBackgroundBackup(OSyncDatabaseTask oSyncDatabaseTask,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database,
File resultedBackupFile,
String finalBackupPath,
OModifiableBoolean incremental,
ODistributedDatabase dDatabase,
ODistributedRequestId requestId,
File completedFile) |
Modifier and Type | Method and Description |
---|---|
String |
getFinalBackupPath() |
CountDownLatch |
getFinished() |
boolean |
getIncremental() |
InputStream |
getInputStream() |
File |
getResultedBackupFile() |
CountDownLatch |
getStarted() |
void |
invalidate() |
boolean |
isValid() |
void |
makeStreamFromFile() |
void |
run() |
public OBackgroundBackup(OSyncDatabaseTask oSyncDatabaseTask, ODistributedServerManager iManager, ODatabaseDocumentInternal database, File resultedBackupFile, String finalBackupPath, OModifiableBoolean incremental, ODistributedDatabase dDatabase, ODistributedRequestId requestId, File completedFile)
public void makeStreamFromFile() throws IOException, InterruptedException
IOException
InterruptedException
public boolean getIncremental()
getIncremental
in interface OSyncSource
public File getResultedBackupFile()
public String getFinalBackupPath()
public CountDownLatch getStarted()
public CountDownLatch getFinished()
getFinished
in interface OSyncSource
public InputStream getInputStream()
getInputStream
in interface OSyncSource
public void invalidate()
invalidate
in interface OSyncSource
public boolean isValid()
isValid
in interface OSyncSource
Copyright © 2009–2020 OrientDB. All rights reserved.