public class JMHSample_30_Interrupts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.BlockingQueue<java.lang.Integer> |
q |
Constructor and Description |
---|
JMHSample_30_Interrupts() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
put() |
void |
setup() |
java.lang.Integer |
take() |
public void setup()
public java.lang.Integer take() throws java.lang.InterruptedException
java.lang.InterruptedException
public void put() throws java.lang.InterruptedException
java.lang.InterruptedException
public static void main(java.lang.String[] args) throws RunnerException
RunnerException