summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/GC.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/GC.h')
-rw-r--r--cpp/src/Ice/GC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/GC.h b/cpp/src/Ice/GC.h
index 1d8b2986fa0..197f0864821 100644
--- a/cpp/src/Ice/GC.h
+++ b/cpp/src/Ice/GC.h
@@ -37,7 +37,9 @@ public:
virtual void run();
void stop();
void collectGarbage();
+
void updateObserver(const Ice::Instrumentation::CommunicatorObserverPtr&);
+ void clearObserver(const Ice::Instrumentation::CommunicatorObserverPtr&);
private:
@@ -46,6 +48,7 @@ private:
bool _collecting;
int _interval;
StatsCallback _statsCallback;
+ Ice::Instrumentation::CommunicatorObserverPtr _communicatorObserver;
ObserverHelperT<Ice::Instrumentation::ThreadObserver> _observer;
};