Interface PartitionResourceHistoryService

All Superinterfaces:
Queryable<PartitionResourceHistory,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
All Known Implementing Classes:
PartitionResourceHistoryProvider

public interface PartitionResourceHistoryService extends Queryable<PartitionResourceHistory,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
  • Method Details

    • 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