Interface GitSyncLogDao

All Superinterfaces:
Dao<GitSyncLog,Long>
All Known Implementing Classes:
GitSyncLogDaoImpl

public interface GitSyncLogDao extends Dao<GitSyncLog,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    List<GitSyncLog>
    findRecentByRepo(String repoFullName, int limit)
    Returns the most recent log entries for the given repository, ordered newest first.
    Returns the distinct repo full names that have ever synced an artifact whose key contains the given keyword (case-insensitive).
    void
    pruneRepo(String repoFullName, int keepCount)
    Deletes the oldest rows for the repository, keeping only the keepCount most recent.

    Methods inherited from interface Dao

    findById, read, read, remove, removeById, save, update
  • Method Details

    • findRecentByRepo

      List<GitSyncLog> findRecentByRepo(String repoFullName, int limit)
      Returns the most recent log entries for the given repository, ordered newest first.
    • pruneRepo

      void pruneRepo(String repoFullName, int keepCount)
      Deletes the oldest rows for the repository, keeping only the keepCount most recent.
    • findReposByArtifactKey

      Set<String> findReposByArtifactKey(String keyword)
      Returns the distinct repo full names that have ever synced an artifact whose key contains the given keyword (case-insensitive).