final class com.sun.jndi.ldap.pool.ConnectionDesc
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.pool.ConnectionDesc
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final byte BUSY;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final byte IDLE;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final byte EXPIRED;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final com.sun.jndi.ldap.pool.PooledConnection conn;
descriptor: Lcom/sun/jndi/ldap/pool/PooledConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte state;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private long idleSince;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long useCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.jndi.ldap.pool.Pool.debug:Z
putstatic com.sun.jndi.ldap.pool.ConnectionDesc.debug:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.jndi.ldap.pool.PooledConnection);
descriptor: (Lcom/sun/jndi/ldap/pool/PooledConnection;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
2: aload 0
lconst_0
putfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
3: aload 0
aload 1
putfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
0 5 1 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
MethodParameters:
Name Flags
conn
void <init>(com.sun.jndi.ldap.pool.PooledConnection, boolean);
descriptor: (Lcom/sun/jndi/ldap/pool/PooledConnection;Z)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
2: aload 0
lconst_0
putfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
3: aload 0
aload 1
putfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
4: iload 2
ifeq 7
5: aload 0
iconst_0
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
6: aload 0
dup
getfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
lconst_1
ladd
putfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
7: StackMap locals: com.sun.jndi.ldap.pool.ConnectionDesc com.sun.jndi.ldap.pool.PooledConnection int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
0 8 1 conn Lcom/sun/jndi/ldap/pool/PooledConnection;
0 8 2 use Z
MethodParameters:
Name Flags
conn
use
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 1
instanceof com.sun.jndi.ldap.pool.ConnectionDesc
ifeq 4
2: aload 1
checkcast com.sun.jndi.ldap.pool.ConnectionDesc
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
if_acmpne 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
synchronized boolean release();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "release()"
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.d:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
ifne 5
2: aload 0
iconst_1
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
3: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.jndi.ldap.pool.ConnectionDesc.idleSince:J
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
synchronized com.sun.jndi.ldap.pool.PooledConnection tryUse();
descriptor: ()Lcom/sun/jndi/ldap/pool/PooledConnection;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc "tryUse()"
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.d:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
iconst_1
if_icmpne 5
2: aload 0
iconst_0
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
3: aload 0
dup
getfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
lconst_1
ladd
putfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
4: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
synchronized boolean expire(long);
descriptor: (J)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
iconst_1
if_icmpne 5
aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.idleSince:J
lload 1
lcmp
ifge 5
1: aload 0
ldc "expire(): expired"
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.d:(Ljava/lang/String;)V
2: aload 0
iconst_2
putfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
3: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
invokeinterface com.sun.jndi.ldap.pool.PooledConnection.closeConnection:()V
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
ldc "expire(): not expired"
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.d:(Ljava/lang/String;)V
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
0 7 1 threshold J
MethodParameters:
Name Flags
threshold
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.conn:Lcom/sun/jndi/ldap/pool/PooledConnection;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
ifne 2
ldc "busy"
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
iconst_1
if_icmpne 3
ldc "idle"
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: ldc "expired"
StackMap locals: com.sun.jndi.ldap.pool.ConnectionDesc
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
int getState();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.state:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
long getUseCount();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.pool.ConnectionDesc.useCount:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
private void d(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.jndi.ldap.pool.ConnectionDesc.debug:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ConnectionDesc."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.jndi.ldap.pool.ConnectionDesc.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/pool/ConnectionDesc;
0 3 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
}
SourceFile: "ConnectionDesc.java"