Interface PartitionResourceHistoryService

    • Method Detail

      • create

        PartitionResourceHistory create​(PartitionResourceHistory partitionResourceInfo)
        Creates PartitionResourceHistory as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
        Parameters:
        partitionResourceInfo - to be created
        Returns:
        Created PartitionResourceHistory
      • update

        PartitionResourceHistory update​(PartitionResourceHistory partitionResourceInfo)
        Updates an existing PartitionResourceHistory to the new values as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
        Parameters:
        partitionResourceInfo - to be updated
        Returns:
        Updated PartitionResource
      • delete

        void delete​(long partitionResourceInfoId)
        Deletes an existing PartitionResourceHistory
        Parameters:
        partitionResourceInfoId - the id of the PartitionResourceInfo to be deleted