diff options
| author | Ted Ross <tross@apache.org> | 2011-08-15 16:47:56 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-08-15 16:47:56 +0000 |
| commit | de19ad9e7157f1b03442f7e1f8136a4f280c0f2f (patch) | |
| tree | d89370f6b2526c3966216d40b343e50ccde17476 /cpp/include | |
| parent | 67663fcc5f0d01f1df1a8cc006ec86725031f10a (diff) | |
| download | qpid-python-de19ad9e7157f1b03442f7e1f8136a4f280c0f2f.tar.gz | |
QPID-3423 - Timing and Performance Improvements in QMF Libraries
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157907 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
| -rw-r--r-- | cpp/include/qmf/AgentSession.h | 5 | ||||
| -rw-r--r-- | cpp/include/qmf/ConsoleSession.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cpp/include/qmf/AgentSession.h b/cpp/include/qmf/AgentSession.h index 1eeb252143..5ecfb0412c 100644 --- a/cpp/include/qmf/AgentSession.h +++ b/cpp/include/qmf/AgentSession.h @@ -71,6 +71,11 @@ namespace qmf { * If False: Listen only on the routable direct address * strict-security:{True,False} - If True: Cooperate with the broker to enforce strict access control to the network * - If False: Operate more flexibly with regard to use of messaging facilities [default] + * max-thread-wait-time:N - Time (in seconds) the session thread will wait for messages from the network between + * periodic background processing passes. [default: 5] + * Must not be greater than 'interval'. Larger numbers will cause fewer wake-ups but will + * increase the time it takes to shut down the process. This setting will not affect the + * agent's response time for queries or method invocation. */ QMF_EXTERN AgentSession(qpid::messaging::Connection& conn, const std::string& options=""); diff --git a/cpp/include/qmf/ConsoleSession.h b/cpp/include/qmf/ConsoleSession.h index 6008036eec..5e3a091e5d 100644 --- a/cpp/include/qmf/ConsoleSession.h +++ b/cpp/include/qmf/ConsoleSession.h @@ -61,6 +61,10 @@ namespace qmf { * If False: Listen only on the routable direct address * strict-security:{True,False} - If True: Cooperate with the broker to enforce strict access control to the network * - If False: Operate more flexibly with regard to use of messaging facilities [default] + * max-thread-wait-time:N - Time (in seconds) the session thread will wait for messages from the network between + * periodic background processing passes. + * Must not be greater than 60. Larger numbers will cause fewer wake-ups but will + * increase the time it takes to shut down the process. [default: 5] */ QMF_EXTERN ConsoleSession(qpid::messaging::Connection& conn, const std::string& options=""); |
