
vuegwt.shaded.org.junit.internal.management.FakeThreadMXBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vue-gwt-processors Show documentation
Show all versions of vue-gwt-processors Show documentation
Annotation Processors for Vue GWT
The newest version!
package org.junit.internal.management;
/**
* No-op implementation of ThreadMXBean when the platform doesn't provide it.
*/
final class FakeThreadMXBean implements ThreadMXBean {
/**
* {@inheritDoc}
*
* Always throws an {@link UnsupportedOperationException}
*/
public long getThreadCpuTime(long id) {
throw new UnsupportedOperationException();
}
/**
* {@inheritDoc}
*
*
Always returns false.
*/
public boolean isThreadCpuTimeSupported() {
return false;
}
}