public class ProfilingServiceLookup
extends java.lang.Object
ProfilingService for the current Ruby instance.
Each Ruby instance has a ProfilingServiceLookup property.| Constructor and Description |
|---|
ProfilingServiceLookup(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
ProfilingService |
getService()
Returns
runtime. |
public ProfilingServiceLookup(Ruby runtime)
runtime - the ruby instance this instance belongs tojava.lang.IllegalArgumentException - if given runtime is nullpublic ProfilingService getService()
runtime. At first invocation newProfiler() is called to create a new instance
of the configured ProfilingService instance.ProfilingService for the runtime.Copyright © 2001-2018 JRuby. All Rights Reserved.