diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
commit | f6bb0396e7d8fd12ed50f72ab9fc99436d418576 (patch) | |
tree | ee6ef1cb32f2523839f210eb9ec3b924b97d5998 /java/test/Ice/metrics/InvocationObserverI.java | |
parent | Add Object.equals, and minor fix to HashMap.equals (diff) | |
download | ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.bz2 ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.xz ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.zip |
More gradle changes.
Moved android stuff to its own package.
Moved java tests to src/main/java/test subdirectory.
Diffstat (limited to 'java/test/Ice/metrics/InvocationObserverI.java')
-rw-r--r-- | java/test/Ice/metrics/InvocationObserverI.java | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/java/test/Ice/metrics/InvocationObserverI.java b/java/test/Ice/metrics/InvocationObserverI.java deleted file mode 100644 index cfb7e2c6547..00000000000 --- a/java/test/Ice/metrics/InvocationObserverI.java +++ /dev/null @@ -1,75 +0,0 @@ -// ********************************************************************** -// -// 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 InvocationObserverI extends ObserverI implements Ice.Instrumentation.InvocationObserver -{ - @Override - public synchronized void - reset() - { - super.reset(); - retriedCount = 0; - userExceptionCount = 0; - if(remoteObserver != null) - { - remoteObserver.reset(); - } - if(collocatedObserver != null) - { - collocatedObserver.reset(); - } - } - - @Override - public synchronized void - retried() - { - ++retriedCount; - } - - @Override - public synchronized void - userException() - { - ++userExceptionCount; - } - - @Override - public synchronized Ice.Instrumentation.RemoteObserver - getRemoteObserver(Ice.ConnectionInfo c, Ice.Endpoint e, int a, int b) - { - if(remoteObserver == null) - { - remoteObserver = new RemoteObserverI(); - remoteObserver.reset(); - } - return remoteObserver; - } - - - @Override - public synchronized Ice.Instrumentation.CollocatedObserver - getCollocatedObserver(Ice.ObjectAdapter adapter, int a, int b) - { - if(collocatedObserver == null) - { - collocatedObserver = new CollocatedObserverI(); - collocatedObserver.reset(); - } - return collocatedObserver; - } - - int userExceptionCount; - int retriedCount; - - RemoteObserverI remoteObserver = null; - CollocatedObserverI collocatedObserver = null; -}; |