summaryrefslogtreecommitdiff
path: root/java/test/Ice/metrics/ChildInvocationObserverI.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-07-01 17:42:04 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-07-01 17:42:04 +0200
commit344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8 (patch)
treebd06f4919e5a5827f60e2a536e43e47a4fbed6d2 /java/test/Ice/metrics/ChildInvocationObserverI.java
parentFixed ICE-5569: IceStorm IceMX debug iterator assert (diff)
downloadice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.bz2
ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.xz
ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.zip
IceMX and Python support for the new collocation optimization
Diffstat (limited to 'java/test/Ice/metrics/ChildInvocationObserverI.java')
-rw-r--r--java/test/Ice/metrics/ChildInvocationObserverI.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/java/test/Ice/metrics/ChildInvocationObserverI.java b/java/test/Ice/metrics/ChildInvocationObserverI.java
new file mode 100644
index 00000000000..8215cef34dd
--- /dev/null
+++ b/java/test/Ice/metrics/ChildInvocationObserverI.java
@@ -0,0 +1,29 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package test.Ice.metrics;
+
+class ChildInvocationObserverI extends ObserverI implements Ice.Instrumentation.ChildInvocationObserver
+{
+ public synchronized void
+ reset()
+ {
+ super.reset();
+ replySize = 0;
+ }
+
+ public synchronized void
+ reply(int s)
+ {
+ replySize += s;
+ }
+
+ int replySize;
+};
+