Interface PublishedMessageTrackerRepository

All Known Subinterfaces:
JpaPublishedMessageTrackerRepository

public interface PublishedMessageTrackerRepository
Repository to work with PublishedMessageTracker objects.
Author:
RealLifeDeveloper
  • Method Details

    • findByPublicationChannel

      Optional<PublishedMessageTracker> findByPublicationChannel(String publicationChannel)
      Gives the PublishedMessageTracker associated with the given publication channel, if available.
      Parameters:
      publicationChannel - the name of the publication channel
      Returns:
      the PublishedMessageTracker associated with publicationChannel, if available
    • save

      <P extends PublishedMessageTracker> P save(P messageTracker)
      Saves or updates the given PublishedMessageTracker.
      Type Parameters:
      P - the type of PublishedMessageTracker, may be a sub-class
      Parameters:
      messageTracker - the PublishedMessageTracker to save
      Returns:
      the saved PublishedMessageTracker, which may have been changed by the operation