public interface ProfileReporter
ProfilingServicewill create an instance of this class at the end of each
RubyThreador at jruby shutdown the
report(ProfileCollection)is called with the
ProfileCollectionassociated with the current Thread. Add your implementation of
ProfilingServiceto the classpath and add the command line --profile.service my.impl.class
void report(ProfileCollection collection)
RubyThreador at jruby shutdown this method is called with the
ProfileCollectionassociated with the current Thread.
collection- the profile information to report. print to file, system out, send ot a profile server, ...
Copyright © 2001–2015 JRuby. All rights reserved.