summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Timer.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-25 13:21:30 +0000
committerAlan Conway <aconway@apache.org>2010-03-25 13:21:30 +0000
commit0a52f498ae4e8fa3ec896acdb6ee6a2dbd34ecd7 (patch)
tree46424993974642b5cdcebf921af930de42773fa8 /cpp/src/qpid/sys/Timer.h
parent83c4025df24f0e38e5979a81a9cee6e783d6e271 (diff)
downloadqpid-python-0a52f498ae4e8fa3ec896acdb6ee6a2dbd34ecd7.tar.gz
More generous overrun threshold for cluster timer to avoid excessive warnings.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927383 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Timer.h')
-rw-r--r--cpp/src/qpid/sys/Timer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Timer.h b/cpp/src/qpid/sys/Timer.h
index 4a579fe032..1e0599e347 100644
--- a/cpp/src/qpid/sys/Timer.h
+++ b/cpp/src/qpid/sys/Timer.h
@@ -92,6 +92,10 @@ class Timer : private Runnable {
protected:
QPID_COMMON_EXTERN virtual void fire(boost::intrusive_ptr<TimerTask> task);
QPID_COMMON_EXTERN virtual void drop(boost::intrusive_ptr<TimerTask> task);
+ // Allow derived classes to change the late/overran thresholds.
+ Duration late;
+ Duration overran;
+ Duration lateCancel;
};