@Mutable @ThreadSafety(level=MOSTLY_THREADSAFE) public final class LDAPConnectionStatistics extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
LDAPConnectionStatistics()
Creates a new instance of this LDAP connection statistics object.
|
Modifier and Type | Method and Description |
---|---|
double |
getAverageAddResponseTimeMillis()
Retrieves the average response time in milliseconds for all add operations
processed on the associated connection.
|
double |
getAverageAddResponseTimeNanos()
Retrieves the average response time in nanoseconds for all add operations
processed on the associated connection.
|
double |
getAverageBindResponseTimeMillis()
Retrieves the average response time in milliseconds for all bind operations
processed on the associated connection.
|
double |
getAverageBindResponseTimeNanos()
Retrieves the average response time in nanoseconds for all bind operations
processed on the associated connection.
|
double |
getAverageCompareResponseTimeMillis()
Retrieves the average response time in milliseconds for all compare
operations processed on the associated connection.
|
double |
getAverageCompareResponseTimeNanos()
Retrieves the average response time in nanoseconds for all compare
operations processed on the associated connection.
|
double |
getAverageDeleteResponseTimeMillis()
Retrieves the average response time in milliseconds for all delete
operations processed on the associated connection.
|
double |
getAverageDeleteResponseTimeNanos()
Retrieves the average response time in nanoseconds for all delete
operations processed on the associated connection.
|
double |
getAverageExtendedResponseTimeMillis()
Retrieves the average response time in milliseconds for all extended
operations processed on the associated connection.
|
double |
getAverageExtendedResponseTimeNanos()
Retrieves the average response time in nanoseconds for all extended
operations processed on the associated connection.
|
double |
getAverageModifyDNResponseTimeMillis()
Retrieves the average response time in milliseconds for all modify DN
operations processed on the associated connection.
|
double |
getAverageModifyDNResponseTimeNanos()
Retrieves the average response time in nanoseconds for all modify DN
operations processed on the associated connection.
|
double |
getAverageModifyResponseTimeMillis()
Retrieves the average response time in milliseconds for all modify
operations processed on the associated connection.
|
double |
getAverageModifyResponseTimeNanos()
Retrieves the average response time in nanoseconds for all modify
operations processed on the associated connection.
|
double |
getAverageSearchResponseTimeMillis()
Retrieves the average response time in milliseconds for all search
operations processed on the associated connection.
|
double |
getAverageSearchResponseTimeNanos()
Retrieves the average response time in nanoseconds for all search
operations processed on the associated connection.
|
long |
getNumAbandonRequests()
Retrieves the number of abandon requests sent on the associated connection.
|
long |
getNumAddRequests()
Retrieves the number of add requests sent on the associated connection.
|
long |
getNumAddResponses()
Retrieves the number of add responses sent on the associated connection.
|
long |
getNumBindRequests()
Retrieves the number of bind requests sent on the associated connection.
|
long |
getNumBindResponses()
Retrieves the number of bind responses sent on the associated connection.
|
long |
getNumCompareRequests()
Retrieves the number of compare requests sent on the associated connection.
|
long |
getNumCompareResponses()
Retrieves the number of compare responses sent on the associated
connection.
|
long |
getNumConnects()
Retrieves the number of times an attempt has been made to establish the
associated connection.
|
long |
getNumDeleteRequests()
Retrieves the number of delete requests sent on the associated connection.
|
long |
getNumDeleteResponses()
Retrieves the number of delete responses sent on the associated connection.
|
long |
getNumDisconnects()
Retrieves the number of times the associated connection has been
terminated.
|
long |
getNumExtendedRequests()
Retrieves the number of extended requests sent on the associated
connection.
|
long |
getNumExtendedResponses()
Retrieves the number of extended responses sent on the associated
connection.
|
long |
getNumModifyDNRequests()
Retrieves the number of modify DN requests sent on the associated
connection.
|
long |
getNumModifyDNResponses()
Retrieves the number of modify DN responses sent on the associated
connection.
|
long |
getNumModifyRequests()
Retrieves the number of modify requests sent on the associated connection.
|
long |
getNumModifyResponses()
Retrieves the number of modify responses sent on the associated connection.
|
long |
getNumSearchDoneResponses()
Retrieves the number of search result done responses received on the
associated connection.
|
long |
getNumSearchEntryResponses()
Retrieves the number of search result entry responses received on the
associated connection.
|
long |
getNumSearchReferenceResponses()
Retrieves the number of search result reference responses received on the
associated connection.
|
long |
getNumSearchRequests()
Retrieves the number of search requests sent on the associated connection.
|
long |
getNumUnbindRequests()
Retrieves the number of unbind requests sent on the associated connection.
|
long |
getTotalAddResponseTimeMillis()
Retrieves the total response time in milliseconds for all add operations
processed on the associated connection.
|
long |
getTotalAddResponseTimeNanos()
Retrieves the total response time in nanoseconds for all add operations
processed on the associated connection.
|
long |
getTotalBindResponseTimeMillis()
Retrieves the total response time in milliseconds for all bind operations
processed on the associated connection.
|
long |
getTotalBindResponseTimeNanos()
Retrieves the total response time in nanoseconds for all bind operations
processed on the associated connection.
|
long |
getTotalCompareResponseTimeMillis()
Retrieves the total response time in milliseconds for all compare
operations processed on the associated connection.
|
long |
getTotalCompareResponseTimeNanos()
Retrieves the total response time in nanoseconds for all compare
operations processed on the associated connection.
|
long |
getTotalDeleteResponseTimeMillis()
Retrieves the total response time in milliseconds for all delete
operations processed on the associated connection.
|
long |
getTotalDeleteResponseTimeNanos()
Retrieves the total response time in nanoseconds for all delete
operations processed on the associated connection.
|
long |
getTotalExtendedResponseTimeMillis()
Retrieves the total response time in milliseconds for all extended
operations processed on the associated connection.
|
long |
getTotalExtendedResponseTimeNanos()
Retrieves the total response time in nanoseconds for all extended
operations processed on the associated connection.
|
long |
getTotalModifyDNResponseTimeMillis()
Retrieves the total response time in milliseconds for all modify DN
operations processed on the associated connection.
|
long |
getTotalModifyDNResponseTimeNanos()
Retrieves the total response time in nanoseconds for all modify DN
operations processed on the associated connection.
|
long |
getTotalModifyResponseTimeMillis()
Retrieves the total response time in milliseconds for all modify
operations processed on the associated connection.
|
long |
getTotalModifyResponseTimeNanos()
Retrieves the total response time in nanoseconds for all modify
operations processed on the associated connection.
|
long |
getTotalSearchResponseTimeMillis()
Retrieves the total response time in milliseconds for all search
operations processed on the associated connection.
|
long |
getTotalSearchResponseTimeNanos()
Retrieves the total response time in nanoseconds for all search
operations processed on the associated connection.
|
void |
reset()
Resets all counters back to zero.
|
java.lang.String |
toString()
Retrieves a string representation of this LDAP connection statistics
object.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP connection statistics object
to the provided buffer.
|
public LDAPConnectionStatistics()
public void reset()
public long getNumConnects()
public long getNumDisconnects()
public long getNumAbandonRequests()
public long getNumAddRequests()
public long getNumAddResponses()
public long getTotalAddResponseTimeNanos()
public long getTotalAddResponseTimeMillis()
public double getAverageAddResponseTimeNanos()
Double.NaN
if
no add operations have yet been performed.public double getAverageAddResponseTimeMillis()
Double.NaN
if
no add operations have yet been performed.public long getNumBindRequests()
public long getNumBindResponses()
public long getTotalBindResponseTimeNanos()
public long getTotalBindResponseTimeMillis()
public double getAverageBindResponseTimeNanos()
Double.NaN
if
no bind operations have yet been performed.public double getAverageBindResponseTimeMillis()
Double.NaN
if
no bind operations have yet been performed.public long getNumCompareRequests()
public long getNumCompareResponses()
public long getTotalCompareResponseTimeNanos()
public long getTotalCompareResponseTimeMillis()
public double getAverageCompareResponseTimeNanos()
Double.NaN
if no compare operations have yet been
performed.public double getAverageCompareResponseTimeMillis()
Double.NaN
if no compare operations have yet been
performed.public long getNumDeleteRequests()
public long getNumDeleteResponses()
public long getTotalDeleteResponseTimeNanos()
public long getTotalDeleteResponseTimeMillis()
public double getAverageDeleteResponseTimeNanos()
Double.NaN
if no delete operations have yet been
performed.public double getAverageDeleteResponseTimeMillis()
Double.NaN
if no delete operations have yet been
performed.public long getNumExtendedRequests()
public long getNumExtendedResponses()
public long getTotalExtendedResponseTimeNanos()
public long getTotalExtendedResponseTimeMillis()
public double getAverageExtendedResponseTimeNanos()
Double.NaN
if no extended operations have yet been
performed.public double getAverageExtendedResponseTimeMillis()
Double.NaN
if no extended operations have yet been
performed.public long getNumModifyRequests()
public long getNumModifyResponses()
public long getTotalModifyResponseTimeNanos()
public long getTotalModifyResponseTimeMillis()
public double getAverageModifyResponseTimeNanos()
Double.NaN
if no modify operations have yet been
performed.public double getAverageModifyResponseTimeMillis()
Double.NaN
if no modify operations have yet been
performed.public long getNumModifyDNRequests()
public long getNumModifyDNResponses()
public long getTotalModifyDNResponseTimeNanos()
public long getTotalModifyDNResponseTimeMillis()
public double getAverageModifyDNResponseTimeNanos()
Double.NaN
if no modify DN operations have yet been
performed.public double getAverageModifyDNResponseTimeMillis()
Double.NaN
if no modify DN operations have yet been
performed.public long getNumSearchRequests()
public long getNumSearchEntryResponses()
public long getNumSearchReferenceResponses()
public long getNumSearchDoneResponses()
public long getTotalSearchResponseTimeNanos()
public long getTotalSearchResponseTimeMillis()
public double getAverageSearchResponseTimeNanos()
Double.NaN
if no compare operations have yet been
performed.public double getAverageSearchResponseTimeMillis()
Double.NaN
if no compare operations have yet been
performed.public long getNumUnbindRequests()
@NotNull public java.lang.String toString()
toString
in class java.lang.Object