summaryrefslogtreecommitdiff
path: root/java/test/Ice/metrics/ChildInvocationObserverI.java
diff options
context:
space:
mode:
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;
+};
+