Fixing argument names
Motivation Misleading argument names Modifications Stripping xMillis suffix from arguments because there's a TimeUnit Result Less confusion
This commit is contained in:
parent
1d128c7a65
commit
d688e35e70
@ -417,8 +417,8 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
|
|||||||
* {@link Channel}. If the close_notify was not flushed in the given timeout the {@link Channel} will be closed
|
* {@link Channel}. If the close_notify was not flushed in the given timeout the {@link Channel} will be closed
|
||||||
* forcibily.
|
* forcibily.
|
||||||
*/
|
*/
|
||||||
public final void setCloseNotifyFlushTimeout(long closeNotifyFlushTimeoutMillis, TimeUnit unit) {
|
public final void setCloseNotifyFlushTimeout(long closeNotifyFlushTimeout, TimeUnit unit) {
|
||||||
setCloseNotifyFlushTimeoutMillis(unit.toMillis(closeNotifyFlushTimeoutMillis));
|
setCloseNotifyFlushTimeoutMillis(unit.toMillis(closeNotifyFlushTimeout));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -446,8 +446,8 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
|
|||||||
* {@link Channel}. This timeout starts after the close_notify message was successfully written to the
|
* {@link Channel}. This timeout starts after the close_notify message was successfully written to the
|
||||||
* remote peer. Use {@code 0} to directly close the {@link Channel} and not wait for the response.
|
* remote peer. Use {@code 0} to directly close the {@link Channel} and not wait for the response.
|
||||||
*/
|
*/
|
||||||
public final void setCloseNotifyReadTimeout(long closeNotifyReadTimeoutMillis, TimeUnit unit) {
|
public final void setCloseNotifyReadTimeout(long closeNotifyReadTimeout, TimeUnit unit) {
|
||||||
setCloseNotifyReadTimeoutMillis(unit.toMillis(closeNotifyReadTimeoutMillis));
|
setCloseNotifyReadTimeoutMillis(unit.toMillis(closeNotifyReadTimeout));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user