Searched refs:remainingMillis (Results 1 – 3 of 3) sorted by relevance
103 private static int remainingMillis(long deadlineMillis) throws IOException { in remainingMillis() method in SocksSocketImpl124 …count = ((SocketInputStream)in).read(data, received, len - received, remainingMillis(deadlineMilli… in readSocksReply()436 super.connect(epoint, remainingMillis(deadlineMillis)); in connect()441 privilegedConnect(server, serverPort, remainingMillis(deadlineMillis)); in connect()
60 private static int remainingMillis(long deadlineMillis) throws java.io.IOException { in remainingMillis() method in SocksSocketImpl
1275 long remainingMillis = endTimeMillis - System.currentTimeMillis(); in receiveWithTimeout() local1276 if (remainingMillis <= 0) { in receiveWithTimeout()1279 Thread.sleep(Math.min(20L, remainingMillis + 1)); in receiveWithTimeout()