class io.vertx.cassandra.impl.SessionHolder implements io.vertx.core.shareddata.Shareable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.cassandra.impl.SessionHolder
super_class: java.lang.Object
{
final io.vertx.core.impl.TaskQueue connectionQueue;
descriptor: Lio/vertx/core/impl/TaskQueue;
flags: (0x0010) ACC_FINAL
final com.datastax.oss.driver.api.core.CqlSession session;
descriptor: Lcom/datastax/oss/driver/api/core/CqlSession;
flags: (0x0010) ACC_FINAL
final int refCount;
descriptor: I
flags: (0x0010) ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.vertx.core.impl.TaskQueue
dup
invokespecial io.vertx.core.impl.TaskQueue.<init>:()V
putfield io.vertx.cassandra.impl.SessionHolder.connectionQueue:Lio/vertx/core/impl/TaskQueue;
2: aload 0
aconst_null
putfield io.vertx.cassandra.impl.SessionHolder.session:Lcom/datastax/oss/driver/api/core/CqlSession;
3: aload 0
iconst_1
putfield io.vertx.cassandra.impl.SessionHolder.refCount:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/cassandra/impl/SessionHolder;
private void <init>(io.vertx.core.impl.TaskQueue, com.datastax.oss.driver.api.core.CqlSession, int);
descriptor: (Lio/vertx/core/impl/TaskQueue;Lcom/datastax/oss/driver/api/core/CqlSession;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.cassandra.impl.SessionHolder.connectionQueue:Lio/vertx/core/impl/TaskQueue;
2: aload 0
aload 2
putfield io.vertx.cassandra.impl.SessionHolder.session:Lcom/datastax/oss/driver/api/core/CqlSession;
3: aload 0
iload 3
putfield io.vertx.cassandra.impl.SessionHolder.refCount:I
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/cassandra/impl/SessionHolder;
0 5 1 connectionQueue Lio/vertx/core/impl/TaskQueue;
0 5 2 session Lcom/datastax/oss/driver/api/core/CqlSession;
0 5 3 refCount I
MethodParameters:
Name Flags
connectionQueue
session
refCount
io.vertx.cassandra.impl.SessionHolder connected(com.datastax.oss.driver.api.core.CqlSession);
descriptor: (Lcom/datastax/oss/driver/api/core/CqlSession;)Lio/vertx/cassandra/impl/SessionHolder;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.cassandra.impl.SessionHolder.session:Lcom/datastax/oss/driver/api/core/CqlSession;
ifnull 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
new io.vertx.cassandra.impl.SessionHolder
dup
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.connectionQueue:Lio/vertx/core/impl/TaskQueue;
aload 1
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.refCount:I
invokespecial io.vertx.cassandra.impl.SessionHolder.<init>:(Lio/vertx/core/impl/TaskQueue;Lcom/datastax/oss/driver/api/core/CqlSession;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/cassandra/impl/SessionHolder;
0 4 1 session Lcom/datastax/oss/driver/api/core/CqlSession;
MethodParameters:
Name Flags
session
io.vertx.cassandra.impl.SessionHolder increment();
descriptor: ()Lio/vertx/cassandra/impl/SessionHolder;
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: new io.vertx.cassandra.impl.SessionHolder
dup
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.connectionQueue:Lio/vertx/core/impl/TaskQueue;
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.session:Lcom/datastax/oss/driver/api/core/CqlSession;
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.refCount:I
iconst_1
iadd
invokespecial io.vertx.cassandra.impl.SessionHolder.<init>:(Lio/vertx/core/impl/TaskQueue;Lcom/datastax/oss/driver/api/core/CqlSession;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/cassandra/impl/SessionHolder;
io.vertx.cassandra.impl.SessionHolder decrement();
descriptor: ()Lio/vertx/cassandra/impl/SessionHolder;
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.cassandra.impl.SessionHolder.refCount:I
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new io.vertx.cassandra.impl.SessionHolder
dup
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.connectionQueue:Lio/vertx/core/impl/TaskQueue;
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.session:Lcom/datastax/oss/driver/api/core/CqlSession;
aload 0
getfield io.vertx.cassandra.impl.SessionHolder.refCount:I
iconst_1
isub
invokespecial io.vertx.cassandra.impl.SessionHolder.<init>:(Lio/vertx/core/impl/TaskQueue;Lcom/datastax/oss/driver/api/core/CqlSession;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/cassandra/impl/SessionHolder;
}
SourceFile: "SessionHolder.java"