Interface JournalServiceInternal

All Superinterfaces:
JournalService
All Known Implementing Classes:
DefaultIndexJournalService, DefaultJournalService

public interface JournalServiceInternal extends JournalService
  • Method Details

    • removeEntriesOlderThan

      int removeEntriesOlderThan(@NonNull Date date, Collection<String> journalNames)
      Removes entries from journals that were created before the given date.
      Parameters:
      date -
      journalNames -
      Returns:
    • removeEntriesOlderThanExclusive

      int removeEntriesOlderThanExclusive(@NonNull Date date, Collection<String> excludingJournalNames)
      Removes entries from journals that were created before the given date. Excluding journal if name match with excludingJournalName
      Parameters:
      date -
      excludingJournalNames -
      Returns: