1 package org.junit.internal.management; 2 3 /** 4 * Wrapper for {@link java.lang.management.ThreadMXBean}. 5 */ 6 public interface ThreadMXBean { 7 /** 8 * @see java.lang.management.ThreadMXBean#getThreadCpuTime(long) 9 */ getThreadCpuTime(long id)10 long getThreadCpuTime(long id); 11 12 /** 13 * @see java.lang.management.ThreadMXBean#isThreadCpuTimeSupported() 14 */ isThreadCpuTimeSupported()15 boolean isThreadCpuTimeSupported(); 16 } 17 18