Interface StashObjectsWriter
-
- All Known Implementing Classes:
StashObjectsWriterImpl
public interface StashObjectsWriterWrites ImportedObjectV2 objects to a storage.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the stash.longgetNumberOfWrittenObjects()voidwriteObject(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 BackupRestoreExceptionCloses the stash.- Throws:
BackupRestoreException
-
-