private static final class BuiltinProfilingService.DefaultProfileReporter extends java.lang.Object implements ProfileReporter
| Modifier and Type | Field and Description |
|---|---|
private ThreadContext |
context |
| Constructor and Description |
|---|
DefaultProfileReporter(ThreadContext context) |
| Modifier and Type | Method and Description |
|---|---|
private RubyInstanceConfig |
getConfig() |
private Ruby |
getRuntime() |
private ThreadContext |
getThreadContext() |
void |
report(ProfileCollection collector)
At the end of each
RubyThread or at jruby shutdown this method
is called with the ProfileCollection associated with the current Thread. |
private final ThreadContext context
public DefaultProfileReporter(ThreadContext context)
private ThreadContext getThreadContext()
private Ruby getRuntime()
private RubyInstanceConfig getConfig()
public void report(ProfileCollection collector)
ProfileReporterRubyThread or at jruby shutdown this method
is called with the ProfileCollection associated with the current Thread.report in interface ProfileReportercollector - the profile information to report. print to file, system out, send ot a profile server, ...