wt.tools.profiler
Interface ProfilerServiceSvr

All Known Implementing Classes:
StandardProfilerService

public interface ProfilerServiceSvr

Server side interface


Method Summary
 void regProfOperation(ProfilingKey key, ProfilingListener adapter)
          Any service/function that wants to make one of its operations profilable, creates an adapter & a listener.
 void reportOpData(ProfilingKey key, Object occuranceKey, int cost, Object occuranceData)
          Operations being profiled will report data using this method.
 

Method Detail

regProfOperation

public void regProfOperation(ProfilingKey key,
                             ProfilingListener adapter)
Any service/function that wants to make one of its operations profilable, creates an adapter & a listener. It then calls this function passing it the adapter and listener, to let the StandardProfilingService know that it is available for profiling.

Parameters:
key -
adapter -

reportOpData

public void reportOpData(ProfilingKey key,
                         Object occuranceKey,
                         int cost,
                         Object occuranceData)
Operations being profiled will report data using this method.

Parameters:
key -
occuranceKey -
cost -
occuranceData -