Package one.xingyi.profile
Class Profiling
java.lang.Object
one.xingyi.profile.Profiling
- All Implemented Interfaces:
IProfileInfo,ProfilingMBean
-
Constructor Details
-
Profiling
-
Profiling
-
-
Method Details
-
printAll
- Specified by:
printAllin interfaceProfilingMBean
-
registerWithPrefix
-
registerWithPrefixAndMain
-
print
- Specified by:
printin interfaceProfilingMBean
-
clear
public void clear()- Specified by:
clearin interfaceProfilingMBean
-
register
-
main
public static void main(String[] args) throws MalformedObjectNameException, NotCompliantMBeanException, InstanceAlreadyExistsException, MBeanRegistrationException, InterruptedException -
getCount
public int getCount()- Specified by:
getCountin interfaceIProfileInfo
-
getTotal
public long getTotal()- Specified by:
getTotalin interfaceIProfileInfo
-
getSnapshot
public long getSnapshot()- Specified by:
getSnapshotin interfaceIProfileInfo
-
getMain
- Specified by:
getMainin interfaceProfilingMBean
-
addChild
-