Interface LogRepository<T>
- Type Parameters:
T
- extends typeEventLog
- All Known Subinterfaces:
CpuEventLogRepository
,EventLogRepository
,MemoryEventRepository
- All Known Implementing Classes:
LogRepositoryImplementation
@NoRepositoryBean
public interface LogRepository<T>
Interface for implemented repository.
-
Method Summary
Modifier and TypeMethodDescriptionSorts by date.getByTimeOffset
(Long timeOffset) Filters out events by timeOffset.
-
Method Details
-
getAllSortedByDate
Sorts by date.- Returns:
- A list of sorted events.
-
getByTimeOffset
Filters out events by timeOffset.- Parameters:
timeOffset
- Cut off time.- Returns:
- List of logs within the given offset.
-