Searched refs:lingerSeconds (Results 1 – 7 of 7) sorted by relevance
981 @Nullable public final Integer lingerSeconds; field in InternalChannelz.SocketOptions987 @Nullable Integer lingerSeconds, in SocketOptions() argument992 this.lingerSeconds = lingerSeconds; in SocketOptions()1002 private Integer lingerSeconds; field in InternalChannelz.SocketOptions.Builder1013 public Builder setSocketOptionLingerSeconds(Integer lingerSeconds) { in setSocketOptionLingerSeconds() argument1014 this.lingerSeconds = lingerSeconds; in setSocketOptionLingerSeconds()1039 return new SocketOptions(timeoutMillis, lingerSeconds, tcpInfo, others); in build()
218 Integer lingerSeconds = config.getOption(SO_LINGER); in getSocketOptions() local219 if (lingerSeconds != null) { in getSocketOptions()220 b.setSocketOptionLingerSeconds(lingerSeconds); in getSocketOptions()
247 static SocketOption toSocketOptionLinger(int lingerSeconds) { in toSocketOptionLinger() argument249 if (lingerSeconds >= 0) { in toSocketOptionLinger()253 .setDuration(Durations.fromSeconds(lingerSeconds)) in toSocketOptionLinger()327 if (options.lingerSeconds != null) { in toSocketOptionsList()328 ret.add(toSocketOptionLinger(options.lingerSeconds)); in toSocketOptionsList()
135 assertNull(socketOptions.lingerSeconds); in channelOptionsTest_noLinger()162 assertEquals(3, (int) socketOptions.lingerSeconds); in setAndValidateGeneric()
89 assertEquals(2, (int) socketOptions.lingerSeconds); in getSocketOptions()
934 .setSocketOptionLingerSeconds(options.lingerSeconds); in toBuilder()
1725 assertNotNull(clientSocketStats.socketOptions.lingerSeconds); in socketStats()1732 assertNotNull(serverSocketStats.socketOptions.lingerSeconds); in socketStats()