Interface MetadataStorageEx

    • Method Detail

      • getIndexedBuilds

        @NotNull
        Set<Long> getIndexedBuilds()
        Returns:
        identifiers of all builds with meta data.
      • hasIndexedBuilds

        boolean hasIndexedBuilds()
        Returns:
        true if the storage has at least one record related to a build
      • getIndexedBuilds

        @NotNull
        Set<Long> getIndexedBuilds​(@NotNull
                                   String providerId)
        Returns:
        identifiers of all builds with meta data generated by the given provider.
      • removeBuild

        boolean removeBuild​(long buildId)
        Removes build for all providers from cache. Marks given buildId as not-indexed.
        Parameters:
        buildId - build to remove
        Returns:
        true is build was indexed
      • removeBuilds

        void removeBuilds​(@NotNull
                          Collection<Long> buildIds)
      • getProviderIds

        @NotNull
        Set<String> getProviderIds()
        Returns:
        the ids of providers with data stored.
        Since:
        10.0
      • flush

        void flush()
        Enforces flush of all data to disk
      • reset

        void reset()
        Delete all the data in memory and on the disc.
      • close

        void close()
        Close the storage. Makes shure all the data was persisted.