Interface StashObjectsWriter
-
- All Known Implementing Classes:
StashObjectsWriterImpl
public interface StashObjectsWriter
Writes ImportedObjectV2 objects to a storage.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the stash.long
getNumberOfWrittenObjects()
void
writeObject(ImportedObjectV2 object)
Writes an object to the stash.
-
-
-
Method Detail
-
writeObject
void writeObject(ImportedObjectV2 object) throws BackupRestoreException
Writes an object to the stash.- Parameters:
object
- object- Throws:
BackupRestoreException
-
getNumberOfWrittenObjects
long getNumberOfWrittenObjects()
- Returns:
- number of written objects.
-
close
void close() throws BackupRestoreException
Closes the stash.- Throws:
BackupRestoreException
-
-