/[Apache-SVN]
ViewVC logotype

Revision 665322


Jump to revision: Previous Next
Author: mcslee
Date: Sat Nov 3 05:30:32 2007 UTC (17 years ago)
Changed paths: 5
Log Message:
Add programatic shutdown option to Java Thrift servers

Summary: Same paradigm as in C++ model. Allow ServerTransport to be interrupted to block an accept loop and cleanly stop serving client requests.

Reviewed By: dreiss

Test Plan: Invoke shutdown() method on a TServer


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/java/src/server/TServer.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/server/TSimpleServer.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/server/TThreadPoolServer.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/transport/TServerSocket.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/transport/TServerTransport.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26