Re: grizzly timeouts

  • From: "Sprague, Paul" <psprague@...>
  • To: "users@..." <users@...>
  • Subject: Re: grizzly timeouts
  • Date: Thu, 19 Dec 2013 20:48:47 +0000
  • Accept-language: en-US
  • Domainkey-signature: s=paypalcorp; d=paypal.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To: Subject:Thread-Topic:Thread-Index:Date:Message-ID: In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:x-originating-ip: Content-Type:MIME-Version:X-CFilter-Loop; b=C1XwEw4y1vnGNWvM4pQAeZ8kUSI192ch5pnRLJWMB4qwXXHlvh8cBkQv QAcy/+8coFzDrk6m0cHjE8AwI3Ddko0UsmagaWqLviqsITfnG4VYrHKa6 P3/uvtgz103aziIgE+imxxtNCXeCpsuoDlM6Yh7e+K12fDGUZnMeRVQ+2 o=;

Hi Alexey.

Okay so Transport.getReadTimeout() and Transport.getWriteTimeout() are only 
used if you set transport.configureBlocking(true) ?

Also the following additional fields are accepted by TCPNIOTransportBuilder 
do not appear to be set on TCPNIOTransport:
readBufferSize
writeBufferSize
connectionTimeout

Thanks,
Paul


From: Oleksiy Stashok <oleksiy.stashok@...<mailto:oleksiy.stashok@...>>
Reply-To: "users@...<mailto:users@...>" <users@...<mailto:users@...>>
Date: Thursday, December 19, 2013 3:19 PM
To: "users@...<mailto:users@...>" <users@...<mailto:users@...>>
Subject: Re: grizzly timeouts

Hi Paul,


On 19.12.13 11:31, Sprague, Paul wrote:
Hello grizzly users I have a few questions.

1)
TCPNIOTransport has readTimeout and writeTimeout fields, when (if ever) 
should these be used? I noticed they are not part of the 
TCPNIOTransportBuilder so I'm curious what they are for.
This is used when we read or write in blocking fashion. Fixing javadocs...


2)
Why does TCPNIOTransportBuilder have fields serverSocketSoTimeout and 
clientSocketSoTimeout but neither are set on the transport that gets built. 
Is this a bug?
bug.


3)
Also this is setter in TCPNIOTransportBuilder  seems to be broken since it is 
setting the backlog instead of the timeout.

public TCPNIOTransportBuilder setServerSocketSoTimeout(int 
serverSocketSoTimeout) {
        this.serverConnectionBackLog = serverSocketSoTimeout;
        return getThis();
    }
bug.

I filed it here [1]. Will be fixed in the next release.

Please let us know if you find more :)

Thank you.

WBR,
Alexey.

[1] https://java.net/jira/browse/GRIZZLY-1623


Thanks,
Paul



grizzly timeouts

Sprague, Paul 12/19/2013

Re: grizzly timeouts

Oleksiy Stashok 12/19/2013

Re: grizzly timeouts

Sprague, Paul 12/19/2013

Re: grizzly timeouts

Oleksiy Stashok 12/19/2013
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close