Interface ImportedObjectsStash

  • All Known Implementing Classes:
    ImportedObjectsStashImpl

    public interface ImportedObjectsStash
    Allows to temporarily "stash" imported objects and read them later. Objects should be kept on the disk (compressed) to keep the RAM free.
    Since:
    8.0.0
    • Method Detail

      • readObjects

        List<ImportedObjectV2> readObjects​(int numberOfObjects)
        Read a collection of objects from the stash. If the stash has fewer objects than numberOfObjects, all objects will be returned.
        Parameters:
        numberOfObjects - number of objects.
        Returns:
        collection of objects
      • getName

        String getName()
        Returns:
        stash name
      • getIterationNumber

        Integer getIterationNumber()
        Returns:
        iteration number
      • getNumberOfObjects

        long getNumberOfObjects()
        Returns:
        number of objects in the stash.