Interface PublishedMessageTrackerRepository
- All Known Subinterfaces:
JpaPublishedMessageTrackerRepository
public interface PublishedMessageTrackerRepository
Repository to work with
PublishedMessageTracker
objects.- Author:
- RealLifeDeveloper
-
Method Summary
Modifier and TypeMethodDescriptionfindByPublicationChannel
(String publicationChannel) Gives thePublishedMessageTracker
associated with the given publication channel, if available.<P extends PublishedMessageTracker>
Psave
(P messageTracker) Saves or updates the givenPublishedMessageTracker
.
-
Method Details
-
findByPublicationChannel
Gives thePublishedMessageTracker
associated with the given publication channel, if available.- Parameters:
publicationChannel
- the name of the publication channel- Returns:
- the
PublishedMessageTracker
associated withpublicationChannel
, if available
-
save
Saves or updates the givenPublishedMessageTracker
.- Type Parameters:
P
- the type ofPublishedMessageTracker
, may be a sub-class- Parameters:
messageTracker
- thePublishedMessageTracker
to save- Returns:
- the saved
PublishedMessageTracker
, which may have been changed by the operation
-