|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.monitoring.EndUserMonitoringService
public abstract class EndUserMonitoringService
The EndUserMonitoringService class provides the ability to log performance data for every user initiated action on a page. The performance metric being measured is a 'click-to-render' time, which includes all processing from the time the user performs an action on the browser (client) to the time the web application completes processing it and updates the browser with the results.
The instance of this class is shared across the entire application. An EndUserMonitoringService can be registered by adding a service file with a class name at META-INF/services/oracle.adf.view.rich.monitoring.EndUserMonitoringService.
AdfFacesContext.getEndUserMonitoringService()
Constructor Summary | |
---|---|
protected |
EndUserMonitoringService() Creates a EndUserMonitoringService |
Method Summary | |
---|---|
boolean |
isMonitoringServiceEnabled() Whether a monitoring service is enabled. |
abstract void |
logUserActivity(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EndUserMonitoringService()
Method Detail |
---|
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(java.lang.Object request, UserActivityInfo userActivityInfo)
request
- the environment-specific object instance for the current request.UserActivityInfo
public boolean isMonitoringServiceEnabled()
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |