Uses of Enum Class
io.goobi.viewer.model.statistics.usage.RequestType
-
Uses of RequestType in io.goobi.viewer.model.statistics.usage
Modifier and TypeMethodDescriptionstatic RequestType
RequestType.getTypeForSessionCountIndex
(int index) Get the RequestType for the given index of the count array inRequestType
withinSessionUsageStatistics
static RequestType
RequestType.getTypeForTotalCountIndex
(int index) Get the RequestType for the given index of the count array for total count in the SOLR field for the counts of a record identifierstatic RequestType
RequestType.getTypeForUniqueCountIndex
(int index) Get the RequestType for the given index of the count array for unique count in the SOLR field for the counts of a record identifierstatic RequestType[]
RequestType.getUsedValues()
Get the values for which request are recordedstatic RequestType
Returns the enum constant of this class with the specified name.static RequestType[]
RequestType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionStatisticsSummary.getTypes()
Get the request counts sorted byRequestType
Modifier and TypeMethodDescriptionSessionRequestCounts.getCount
(RequestType type) Get the total count of requests for a givenRequestType
StatisticsSummary.getLastRecordedDate
(RequestType... types) Get the last date for which requests have been recordedlong
SessionUsageStatistics.getRecordRequestCount
(RequestType type, String recordIdentifier) Get number of requests for a givenRequestType
and record identifierlong
SessionUsageStatistics.getRequestedRecordsCount
(RequestType type) Get number of record identifiers which were requested with a givenRequestType
long
DailySessionUsageStatistics.getTotalRequestCount
(RequestType type) long
DailySessionUsageStatistics.getTotalRequestCount
(RequestType type, String pi) long
DailySessionUsageStatistics.getTotalRequestCount
(RequestType type, List<String> identifiersToInclude) long
SessionUsageStatistics.getTotalRequestCount
(RequestType type) Get number of requests for a givenRequestType
long
SessionUsageStatistics.getTotalRequestCount
(RequestType type, List<String> identifiersToInclude) Return the number of requests of a givenRequestType
for the record identifiers included in identifiersToIncludelong
StatisticsSummary.getTotalRequests
(RequestType... types) Get the total amount for requests for a givenRequestType
long
DailySessionUsageStatistics.getUniqueRequestCount
(RequestType type) long
DailySessionUsageStatistics.getUniqueRequestCount
(RequestType type, String pi) long
DailySessionUsageStatistics.getUniqueRequestCount
(RequestType type, List<String> includedIdentifiers) long
StatisticsSummary.getUniqueRequests
(RequestType... types) Get the number of unique request for a givenRequestType
void
SessionRequestCounts.incrementCount
(RequestType type) Increment the total count of requests for a givenRequestType
by onevoid
SessionUsageStatistics.incrementRequestCount
(RequestType type, String recordIdentifier) Increment the total count of requests for aRequestType
and record identifier by oneprotected void
UsageStatisticsRecorder.recordRequest
(RequestType type, String recordIdentifier, String sessionID, String userAgent, String clientIP) Add a request to the internal request countsvoid
UsageStatisticsRecorder.recordRequest
(RequestType type, String recordIdentifier, javax.servlet.http.HttpServletRequest request) Add a http request to the usage statisticsvoid
SessionRequestCounts.setCount
(RequestType type, long count) Set the total count of requests for a givenRequestType
void
SessionUsageStatistics.setRecordRequectCount
(RequestType type, String recordIdentifier, long count) Set total count of requests for aRequestType
and record identifier to the given numberModifierConstructorDescriptionDefault constructor