public class HTTPStatistics extends LDAPStatistics
LDAPStatistics
to show the administrator how the underlying LDAP internal operations are
performing.Constructor and Description |
---|
HTTPStatistics(String instanceName)
Constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
clearStatistics()
Clears any statistical information collected to this point.
|
MonitorData |
getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
void |
updateRequestMonitoringData(String httpMethod,
long time)
Adds to the total time of an HTTP request method.
|
getAbandonRequests, getAddRequests, getAddResponses, getBindRequests, getBindResponses, getBytesRead, getBytesWritten, getCompareRequests, getCompareResponses, getConnectionsClosed, getConnectionsEstablished, getDeleteRequests, getDeleteResponses, getExtendedRequests, getExtendedResponses, getMessagesRead, getMessagesWritten, getModifyDNRequests, getModifyDNResponses, getModifyRequests, getModifyResponses, getMonitorInstanceName, getMonitorObjectClass, getOperationsAbandoned, getOperationsCompleted, getOperationsInitiated, getSearchOneRequests, getSearchRequests, getSearchResultEntries, getSearchResultReferences, getSearchResultsDone, getSearchSubRequests, getUnbindRequests, initializeMonitorProvider, updateAbandonedOperation, updateBytesRead, updateBytesWritten, updateConnect, updateDisconnect, updateMessageRead, updateMessageWritten, updateMessageWritten, updateOperationMonitoringData, updateOperationMonitoringData
finalizeMonitorProvider, isConfigurationAcceptable, scheduleUpdate
public HTTPStatistics(String instanceName)
instanceName
- The name for this monitor provider instance.public void clearStatistics()
clearStatistics
in class LDAPStatistics
public MonitorData getMonitorData()
MonitorProvider
getMonitorData
in class LDAPStatistics
public void updateRequestMonitoringData(String httpMethod, long time) throws NullPointerException
httpMethod
- the method of the HTTP request to add to the statstime
- the time to add to the totalNullPointerException
- if the httpMethod is nullCopyright © 2010-2017 ForgeRock AS. All Rights Reserved.