public class Profiling extends Object implements ProfilingMBean
| Constructor and Description |
|---|
Profiling(INanoTime nanoTime,
String packageName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
getCount() |
String |
getMain() |
long |
getSnapshot() |
long |
getTotal() |
static void |
main(String[] args) |
String |
print() |
static String |
printAll() |
void |
register() |
IProfileBuilder |
registerWithPrefix(String prefix) |
IProfileBuilder |
registerWithPrefixAndMain(String prefix,
String main) |
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 getCount()
getCount in interface IProfileInfopublic long getTotal()
getTotal in interface IProfileInfopublic long getSnapshot()
getSnapshot in interface IProfileInfopublic String getMain()
getMain in interface ProfilingMBeanCopyright © 2023. All rights reserved.