Class HierarchyResolver

    • Method Detail

      • markUnused

        public boolean markUnused​(String cid)
        Description copied from interface: StreamResolver
        Mark a Stream as being unused and reset it to an unused state. This method can only be used once to add the Stream to the unused streams collection. In subsequent invocations it will only return if marking the Stream as unused succeeded once but will not add it to the collection of unused streams again.
        Specified by:
        markUnused in interface StreamResolver
        Parameters:
        cid - the Content-ID that identifies the Stream that shall be retrieved.
        Returns:
        true if resetting the Stream to an unused state succeeded otherwise false.