commit | 04c315946c68034a51376bab368a4c4c2c8a8ba5 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Fri Nov 21 23:07:05 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Fri Nov 21 23:07:05 2008 +0000 |
tree | bb54703ff9e875ca11a533592f51f9b7173e77f7 | |
parent | fd71808e35af5ba82a29320abfcbc30ef7fc6b87 [diff] |
THRIFT-81. java: TNonblockingServer: Support a limit on read buffer size This change makes it possible to set a maximum amount of memory that TNonblockingServer will use for all read buffers (combined). If it is exceeded, no new data will be read from clients until memory is freed. The current implementation does a busy wait in the main thread when this happens. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719741 13f79535-47bb-0310-9956-ffa450edef68