public abstract class EndUserMonitoringService extends Object
Modifier | Constructor and Description |
---|---|
protected |
EndUserMonitoringService()
Creates a EndUserMonitoringService
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMonitoringServiceEnabled()
Whether a monitoring service is enabled.
|
abstract void |
logUserActivity(Object request, UserActivityInfo userActivityInfo)
Logs information for the current request.
|
abstract void |
logUserActivity(UserActivityInfo userActivityInfo)
Logs user activity information for a user action in a previous request.
|
protected EndUserMonitoringService()
public abstract void logUserActivity(UserActivityInfo userActivityInfo)
For any request, the user activity information is logged both when the request is processed on the server and during the processing of the subsequent request. For instance the client end time is calculated on the client-side at the end of processing the response for the first request and this information is sent to the server as part of the payload of the subsequent request (to avoid unnecessary requests).
So, for the current request,logUserActivity(Object request, UserActivityInfo userActInfo)
is always called.userActivityInfo
- the user activity info specific to the previous request.public abstract void logUserActivity(Object request, UserActivityInfo userActivityInfo)
request
- the environment-specific object instance for the current request.UserActivityInfo
public boolean isMonitoringServiceEnabled()