mirror of
https://github.com/Telecominfraproject/wlan-cloud-services.git
synced 2025-11-02 03:27:54 +00:00
[WIFI-3056] Add API to get system event statistics
This commit is contained in:
@@ -8,6 +8,7 @@ import com.telecominfraproject.wlan.core.model.pagination.ColumnAndSort;
|
||||
import com.telecominfraproject.wlan.core.model.pagination.PaginationContext;
|
||||
import com.telecominfraproject.wlan.core.model.pagination.PaginationResponse;
|
||||
import com.telecominfraproject.wlan.systemevent.models.SystemEventRecord;
|
||||
import com.telecominfraproject.wlan.systemevent.models.SystemEventStats;
|
||||
|
||||
/**
|
||||
* @author dtoptygin
|
||||
@@ -60,4 +61,13 @@ public interface SystemEventDatastore {
|
||||
List<ColumnAndSort> sortBy,
|
||||
PaginationContext<SystemEventRecord> context);
|
||||
|
||||
/**
|
||||
* @param filterAttributeName
|
||||
* @param filterAttributeValue
|
||||
* @param fromTime
|
||||
* @param toTime
|
||||
* @return Returns system event statistics for the given time range.
|
||||
*/
|
||||
SystemEventStats getSystemEventStats(String filterAttributeName, String filterAttributeValue, long fromTime, long toTime);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user