/[Apache-SVN]
ViewVC logotype

Revision 719741


Jump to revision: Previous Next
Author: dreiss
Date: Fri Nov 21 23:07:05 2008 UTC (15 years, 5 months ago)
Changed paths: 5
Log Message:
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.


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/TByteArrayOutputStream.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/server/THsHaServer.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/com/facebook/thrift/server/TNonblockingServer.java modified , text changed
Directoryincubator/thrift/trunk/test/java/TestNonblockingServer modified , text changed
Directoryincubator/thrift/trunk/test/java/src/OverloadNonblockingServer.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26