Interface PartitionResourceInfoService

    • Method Detail

      • create

        PartitionResourceInformation create​(PartitionResourceInformation partitionResourceInfo)
        Creates PartitionResourceInformation 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 PartitionResourceInformation
      • update

        PartitionResourceInformation update​(PartitionResourceInformation partitionResourceInfo)
        Updates an existing PartitionResourceInformation 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 PartitionResourceInformation
        Parameters:
        partitionResourceInfoId - the id of the PartitionResourceInfo to be deleted