Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Socket.setPerformancePreferences

Tags:

java

sockets

Can anyone help me get more information on what this method Socket.setPerformancePreferences(int connectionTime, int latency, int bandwidth) does and how it affects the Socket performance ? The Java API information is very short and introductory only. Any links that has some examples and some discussion on this will be very helpful. I tried googling it but could find very helpful info either.

like image 464
Bhaskar Avatar asked Jan 08 '12 19:01

Bhaskar


1 Answers

Here's the source code for this method in 1.6 of Oracle's distribution:

public void setPerformancePreferences(int connectionTime,
                                      int latency,
                                      int bandwidth)
{
/* Not implemented yet */
}

So it does nothing.

like image 135
jyemin Avatar answered Sep 24 '22 13:09

jyemin