Package com.atlassian.confluence.impl.backuprestore.restore.stash
-
Interface Summary Interface Description ImportedObjectsStash Allows to temporarily "stash" imported objects and read them later.ImportedObjectsStashFactory Creates an instance of ImportedObjectsStash which is responsible for temporarily keeping plenty of imported objects.IOFriendlyFunction<T,R> Like a regular Function but allows to throw IOExceptionStashObjectsReader Reads objects from a storage and returns instances of ImportedObjectV2.StashObjectsWriter Writes ImportedObjectV2 objects to a storage. -
Class Summary Class Description ImportedObjectsStashFactoryImpl Creates an instance of ImportedObjectsStash.ImportedObjectsStashImpl Allows to temporarily "stash" imported objects and then read them.StashObjectsReaderImpl Implementation of StashObjectsReader that reads data from the file where each object is stored in the format: 4 bytes: object length (N) N bytes: object itself When the end of stash is reached, the stash is closed and the file is removed automatically.StashObjectsSerialiser Serialises and deserialises instances of ImportedObjectV2 to the byte arrays.StashObjectsWriterImpl Implementation of StashObjectsWriter that stores data to the file where each object is stored in the format: 4 bytes: object length (N) N bytes: object itself