public class Profiling extends Object implements ProfilingMBean
| Constructor and Description |
|---|
Profiling(INanoTime nanoTime,
String packageName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
count() |
static void |
main(String[] args) |
String |
print() |
static String |
printAll() |
void |
register() |
IProfileBuilder |
registerWithPrefix(String prefix) |
IProfileBuilder |
registerWithPrefixAndMain(String prefix,
String main) |
long |
snapshot() |
long |
total() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavgpublic static String printAll()
public IProfileBuilder registerWithPrefix(String prefix)
public IProfileBuilder registerWithPrefixAndMain(String prefix, String main)
public String print()
print in interface ProfilingMBeanpublic void clear()
clear in interface ProfilingMBeanpublic void register()
public static void main(String[] args) throws MalformedObjectNameException, NotCompliantMBeanException, InstanceAlreadyExistsException, MBeanRegistrationException, InterruptedException
public int count()
count in interface IProfileInfopublic long total()
total in interface IProfileInfopublic long snapshot()
snapshot in interface IProfileInfoCopyright © 2023. All rights reserved.