Interface LogRepository<T>

Type Parameters:
T - extends type EventLog
All Known Subinterfaces:
CpuEventLogRepository, EventLogRepository, MemoryEventRepository
All Known Implementing Classes:
LogRepositoryImplementation

@NoRepositoryBean public interface LogRepository<T>
Interface for implemented repository.
  • Method Details

    • getAllSortedByDate

      List<T> getAllSortedByDate()
      Sorts by date.
      Returns:
      A list of sorted events.
    • getByTimeOffset

      List<T> getByTimeOffset(Long timeOffset)
      Filters out events by timeOffset.
      Parameters:
      timeOffset - Cut off time.
      Returns:
      List of logs within the given offset.