Class StashObjectsReaderImpl

  • All Implemented Interfaces:
    StashObjectsReader

    public class StashObjectsReaderImpl
    extends Object
    implements StashObjectsReader
    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.
    Since:
    8.1.0