Package com.zeroc.IceMX
Class Observer<T extends Metrics>
java.lang.Object
com.zeroc.IceUtilInternal.StopWatch
com.zeroc.IceMX.Observer<T>
- All Implemented Interfaces:
Observer
- Direct Known Subclasses:
ObserverWithDelegate
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attach()
This method is called when the instrumented object is created or when the observer is attached to an existing object.void
detach()
This method is called when the instrumented object is destroyed and as a result the observer detached from the object.void
Notification of a failure.void
com.zeroc.IceInternal.MetricsMap<T>.com.zeroc.IceInternal.MetricsMap.Entry
getEntry
(com.zeroc.IceInternal.MetricsMap<?> map) getObserver
(String mapName, MetricsHelper<S> helper, Class<S> mcl, Class<ObserverImpl> ocl) void
init
(MetricsHelper<T> helper, List<com.zeroc.IceInternal.MetricsMap<T>.com.zeroc.IceInternal.MetricsMap.Entry> objects, Observer<T> previous) Methods inherited from class com.zeroc.IceUtilInternal.StopWatch
delay, isStarted, start, stop
-
Constructor Details
-
Observer
public Observer()
-
-
Method Details
-
attach
public void attach()Description copied from interface:Observer
This method is called when the instrumented object is created or when the observer is attached to an existing object. -
detach
public void detach()Description copied from interface:Observer
This method is called when the instrumented object is destroyed and as a result the observer detached from the object. -
failed
Description copied from interface:Observer
Notification of a failure. -
forEach
-
init
-
getObserver
-
getEntry
public com.zeroc.IceInternal.MetricsMap<T>.com.zeroc.IceInternal.MetricsMap.Entry getEntry(com.zeroc.IceInternal.MetricsMap<?> map)
-