final class org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer extends java.util.concurrent.locks.AbstractQueuedSynchronizer
{
static final boolean $assertionsDisabled;
private void <init>()
{
org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer v;
v := @this: org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer;
specialinvoke v.<java.util.concurrent.locks.AbstractQueuedSynchronizer: void <init>()>();
virtualinvoke v.<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: void setState(int)>(1);
return;
}
protected int tryAcquireShared(int)
{
org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer v;
byte v;
int v, v;
java.lang.AssertionError v;
boolean v;
v := @this: org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer;
v := @parameter: int;
v = <org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: boolean $assertionsDisabled>;
if v != 0 goto label;
if v == 1 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = virtualinvoke v.<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: int getState()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = -1;
label:
return v;
}
protected boolean tryReleaseShared(int)
{
java.lang.AssertionError v;
org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer v;
int v, v, v;
boolean v, v, v;
v := @this: org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer;
v := @parameter: int;
v = <org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: boolean $assertionsDisabled>;
if v != 0 goto label;
if v == 1 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = virtualinvoke v.<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: int getState()>();
if v != 0 goto label;
return 0;
label:
v = v - 1;
v = virtualinvoke v.<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: boolean compareAndSetState(int,int)>(v, v);
if v == 0 goto label;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
protected void reset()
{
org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer v;
v := @this: org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer;
virtualinvoke v.<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: void setState(int)>(1);
return;
}
static void <clinit>()
{
java.lang.Class v;
boolean v, v;
v = class "Lorg/apache/drill/exec/rpc/ResettableBarrier;";
v = virtualinvoke v.<java.lang.Class: boolean desiredAssertionStatus()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
<org.apache.drill.exec.rpc.ResettableBarrier$InternalSynchronizer: boolean $assertionsDisabled> = v;
return;
}
}