/[Apache-SVN]
ViewVC logotype

Revision 1005139


Jump to revision: Previous Next
Author: dreiss
Date: Wed Oct 6 17:10:08 2010 UTC (14 years, 1 month ago)
Changed paths: 17
Log Message:
THRIFT-928. cpp: Thrift Server Client Stats

Add the ability for Thrift servers to monitor client connections.  It is
activated by #including server/TClientInfo.h and creating 1) a
TClientInfoCallHandler passed to the processor with setEventHandler()
and 2) a TClientInforServerHandler passed to the server with
setServerEventHandler().

The result vector, showing active connections, provides client address
and the thrift call it is executing (or last executed), the time
connected, and the number of calls made since connection.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/contrib/fb303/TClientInfo.cpp added
Directoryincubator/thrift/trunk/contrib/fb303/TClientInfo.h added
Directoryincubator/thrift/trunk/lib/cpp/src/TProcessor.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/processor/PeekProcessor.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/processor/PeekProcessor.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/processor/StatsProcessor.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TServer.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TSimpleServer.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TThreadPoolServer.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TThreadedServer.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TSocket.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TSocket.h modified , text changed
Directoryincubator/thrift/trunk/test/cpp/src/TestServer.cpp modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26