org.multiverse.utils.profiling
Interface ProfilerAware
public interface ProfilerAware
The Object being profiled. It can be added to an STM implementation for example to
indicate that it has a profiler so this can be used to retrieve the information.
This interface is introduced to prevent adding a dependency on the profiler package
in the stm implementations.
- Author:
- Peter Veentjer.
getProfiler
ProfileRepository getProfiler()
- Returns the Profiler used. If null is returned, no profiler is used.
- Returns:
- the Profiler used (can be null).
Copyright © 2008-2010 Multiverse. All Rights Reserved.