public class HTTPConnectionStatisticElement extends java.lang.Object implements java.lang.Comparable<HTTPConnectionStatisticElement>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HTTPConnectionStatisticElement compareStatisticElement)
Compare the key this instance with key of another instance.
|
long |
getAverageSSLHandshakeTime()
Get the average SSL handshake time.
|
long |
getAverageSSLPrepareTime()
Get the average SSL prepare time.
|
long |
getAverageTCPConnectTime()
Get the average TCP/IP connect time for opening the network connection to the server.
|
java.lang.String |
getHost()
Get the host name or IP address.
|
java.lang.String |
getKey()
Get the Web server key of this element.
|
KeyValuePair<java.lang.Long,java.lang.Long> |
getLatestSSLHandshakeTimeAndTimestamp()
Get the latest (newest) SSL handshake time and the corresponding Unix-like timestamp.
|
KeyValuePair<java.lang.Long,java.lang.Long> |
getLatestSSLPrepareTimeAndTimestamp()
Get the latest (newest) SSL context preparation time and the corresponding Unix-like timestamp.
|
KeyValuePair<java.lang.Long,java.lang.Long> |
getLatestTCPConnectTimeAndTimestamp()
Get the latest (newest) TCP connect time and the corresponding Unix-like timestamp.
|
long |
getMaxSSLHandshakeTime()
Get the maximum SSL handshake time.
|
long |
getMaxSSLPrepareTime()
Get the maximum SSL prepare time.
|
long |
getMaxTCPConnectTime()
Get the maximum TCP/IP connect time for opening the network connection to the server.
|
long |
getMinSSLHandshakeTime()
Get the minimum SSL handshake time.
|
long |
getMinSSLPrepareTime()
Get the minimum SSL prepare time.
|
long |
getMinTCPConnectTime()
Get the minimum TCP/IP connect time for opening the network connection to the server.
|
long |
getNumNewCreatedConnections()
Get the total number of new, successfully connected TCP/IP connections.
|
long |
getNumReusedConnections()
Get the total number of successfully reused TCP/IP connections.
|
long |
getNumSSLHandshakeTime()
Get the total number of measured SSL handshake times.
|
long |
getNumTCPConnectTime()
Get the total number of measured TCP/IP connection times.
|
int |
getPort()
Get the TCP/IP port number.
|
java.lang.String |
getProtocol()
Get the protocol, 'http' or 'https'.
|
long |
getSumSSLHandshakeTime()
Get the total sum of measured SSL handshake times.
|
long |
getSumTCPConnectTime()
Get the total sum of measured TCP/IP connection times.
|
void |
mergeElement(HTTPConnectionStatisticElement otherElement)
Merge the data of this element with the data of another element.
|
public java.lang.String getProtocol()
public java.lang.String getHost()
public int getPort()
public java.lang.String getKey()
public void mergeElement(HTTPConnectionStatisticElement otherElement)
otherElement
- the other elementjava.lang.IllegalArgumentException
- if the keys of the elements are not identicalpublic long getNumNewCreatedConnections()
public long getNumReusedConnections()
public long getAverageSSLPrepareTime()
public long getMinSSLPrepareTime()
public long getMaxSSLPrepareTime()
public KeyValuePair<java.lang.Long,java.lang.Long> getLatestSSLPrepareTimeAndTimestamp()
public long getAverageTCPConnectTime()
public long getMinTCPConnectTime()
public long getMaxTCPConnectTime()
public KeyValuePair<java.lang.Long,java.lang.Long> getLatestTCPConnectTimeAndTimestamp()
public long getNumTCPConnectTime()
public long getSumTCPConnectTime()
public long getAverageSSLHandshakeTime()
public long getMinSSLHandshakeTime()
public long getMaxSSLHandshakeTime()
public KeyValuePair<java.lang.Long,java.lang.Long> getLatestSSLHandshakeTimeAndTimestamp()
public long getNumSSLHandshakeTime()
public long getSumSSLHandshakeTime()
public int compareTo(HTTPConnectionStatisticElement compareStatisticElement)
compareTo
in interface java.lang.Comparable<HTTPConnectionStatisticElement>
compareStatisticElement
- the other instance