public class SdkMetricsSocket extends DelegateSocket
Modifier and Type | Field and Description |
---|---|
private MetricsInputStream |
metricsIS |
sock
Constructor and Description |
---|
SdkMetricsSocket(java.net.Socket sock) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream() |
void |
setMetrics(AWSRequestMetrics metrics)
AWSRequestMetrics is set per request. |
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
private MetricsInputStream metricsIS
public void setMetrics(AWSRequestMetrics metrics)
AWSRequestMetrics
is set per request.public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class DelegateSocket
java.io.IOException