Closeable
, AutoCloseable
public class SdkMetricsSocket extends DelegateSocket
Constructor | Description |
---|---|
SdkMetricsSocket(Socket sock) |
Modifier and Type | Method | Description |
---|---|---|
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOption, setOption, setSocketImplFactory, supportedOptions
public SdkMetricsSocket(Socket sock)
public void setMetrics(AwsRequestMetrics metrics)
AwsRequestMetrics
is set per request.public InputStream getInputStream() throws IOException
getInputStream
in class DelegateSocket
IOException
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.