Class ControlledInvocation
- java.lang.Object
-
- org.eclipse.microprofile.metrics.tck.util.ControlledInvocation
-
public class ControlledInvocation extends Object
-
-
Constructor Summary
Constructors Constructor Description ControlledInvocation(BeanWithControlledInvocation bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()Start the invocation and synchronously wait until we are sure that the relevant metrics were updated.voidstop()Stop the invocation and synchronously wait until we are sure that the relevant metrics were updated.
-
-
-
Constructor Detail
-
ControlledInvocation
public ControlledInvocation(BeanWithControlledInvocation bean)
-
-
Method Detail
-
start
public void start() throws InterruptedException, TimeoutExceptionStart the invocation and synchronously wait until we are sure that the relevant metrics were updated.- Throws:
InterruptedExceptionTimeoutException
-
stop
public void stop()
Stop the invocation and synchronously wait until we are sure that the relevant metrics were updated.
-
-