/** * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm * tries to conserve bandwidth by minimizing the number of segments that are * sent. When applications wish to decrease network latency and increase * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). * Data will be sent earlier, at the cost of an increase in bandwidth consumption. * * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public void setTcpNoDelay(boolean value) { setBooleanParameter(TCP_NODELAY, value); }
/** * Defines whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @param value <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public void setStaleCheckingEnabled(boolean value) { setBooleanParameter(STALE_CONNECTION_CHECK, value); } }
/** * Defines whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @param value <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public void setStaleCheckingEnabled(boolean value) { setBooleanParameter(STALE_CONNECTION_CHECK, value); } }
/** * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm * tries to conserve bandwidth by minimizing the number of segments that are * sent. When applications wish to decrease network latency and increase * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). * Data will be sent earlier, at the cost of an increase in bandwidth consumption. * * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public void setTcpNoDelay(boolean value) { setBooleanParameter(TCP_NODELAY, value); }
/** * Defines whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @param value <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public void setStaleCheckingEnabled(boolean value) { setBooleanParameter(STALE_CONNECTION_CHECK, value); } }
/** * Defines whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @param value <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public void setStaleCheckingEnabled(boolean value) { setBooleanParameter(STALE_CONNECTION_CHECK, value); } }
/** * Defines whether stale connection check is to be used. Disabling * stale connection check may result in slight performance improvement * at the risk of getting an I/O error when executing a request over a * connection that has been closed at the server side. * * @param value <tt>true</tt> if stale connection check is to be used, * <tt>false</tt> otherwise. */ public void setStaleCheckingEnabled(boolean value) { setBooleanParameter(STALE_CONNECTION_CHECK, value); } }
/** * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm * tries to conserve bandwidth by minimizing the number of segments that are * sent. When applications wish to decrease network latency and increase * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). * Data will be sent earlier, at the cost of an increase in bandwidth consumption. * * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public void setTcpNoDelay(boolean value) { setBooleanParameter(TCP_NODELAY, value); }
/** * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm * tries to conserve bandwidth by minimizing the number of segments that are * sent. When applications wish to decrease network latency and increase * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). * Data will be sent earlier, at the cost of an increase in bandwidth consumption. * * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public void setTcpNoDelay(boolean value) { setBooleanParameter(TCP_NODELAY, value); }
/** * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm * tries to conserve bandwidth by minimizing the number of segments that are * sent. When applications wish to decrease network latency and increase * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY). * Data will be sent earlier, at the cost of an increase in bandwidth consumption. * * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used * (that is enable TCP_NODELAY), <tt>false</tt> otherwise. */ public void setTcpNoDelay(boolean value) { setBooleanParameter(TCP_NODELAY, value); }