public class org.glassfish.grizzly.threadpool.DefaultWorkerThread extends java.lang.Thread implements org.glassfish.grizzly.threadpool.WorkerThread
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.threadpool.DefaultWorkerThread
super_class: java.lang.Thread
{
private final org.glassfish.grizzly.attributes.AttributeHolder attributes;
descriptor: Lorg/glassfish/grizzly/attributes/AttributeHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.memory.ThreadLocalPool memoryPool;
descriptor: Lorg/glassfish/grizzly/memory/ThreadLocalPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.ThreadCache$ObjectCache objectCache;
descriptor: Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long transactionTimeoutMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(org.glassfish.grizzly.attributes.AttributeBuilder, java.lang.String, org.glassfish.grizzly.memory.ThreadLocalPool, java.lang.Runnable);
descriptor: (Lorg/glassfish/grizzly/attributes/AttributeBuilder;Ljava/lang/String;Lorg/glassfish/grizzly/memory/ThreadLocalPool;Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
aload 2
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
1: aload 0
new org.glassfish.grizzly.ThreadCache$ObjectCache
dup
invokespecial org.glassfish.grizzly.ThreadCache$ObjectCache.<init>:()V
putfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.objectCache:Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
2: aload 0
ldc -1
putfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.transactionTimeoutMillis:J
3: aload 0
aload 1
invokeinterface org.glassfish.grizzly.attributes.AttributeBuilder.createUnsafeAttributeHolder:()Lorg/glassfish/grizzly/attributes/AttributeHolder;
putfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.attributes:Lorg/glassfish/grizzly/attributes/AttributeHolder;
4: aload 0
aload 3
putfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.memoryPool:Lorg/glassfish/grizzly/memory/ThreadLocalPool;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 6 1 attrBuilder Lorg/glassfish/grizzly/attributes/AttributeBuilder;
0 6 2 name Ljava/lang/String;
0 6 3 pool Lorg/glassfish/grizzly/memory/ThreadLocalPool;
0 6 4 runTask Ljava/lang/Runnable;
MethodParameters:
Name Flags
attrBuilder
name
pool
runTask
public java.lang.Thread getThread();
descriptor: ()Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
public org.glassfish.grizzly.attributes.AttributeHolder getAttributes();
descriptor: ()Lorg/glassfish/grizzly/attributes/AttributeHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.attributes:Lorg/glassfish/grizzly/attributes/AttributeHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
public org.glassfish.grizzly.memory.ThreadLocalPool getMemoryPool();
descriptor: ()Lorg/glassfish/grizzly/memory/ThreadLocalPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.memoryPool:Lorg/glassfish/grizzly/memory/ThreadLocalPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
public final <E> E getFromCache(org.glassfish.grizzly.ThreadCache$CachedTypeIndex<E>);
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.objectCache:Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCache.get:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 1 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;)TE;
MethodParameters:
Name Flags
index final
public final <E> E takeFromCache(org.glassfish.grizzly.ThreadCache$CachedTypeIndex<E>);
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.objectCache:Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
aload 1
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCache.take:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 1 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;)TE;
MethodParameters:
Name Flags
index final
public final <E> boolean putToCache(org.glassfish.grizzly.ThreadCache$CachedTypeIndex<E>, );
descriptor: (Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.objectCache:Lorg/glassfish/grizzly/ThreadCache$ObjectCache;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.ThreadCache$ObjectCache.put:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 1 1 index Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;
0 1 2 o TE;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<TE;>;TE;)Z
MethodParameters:
Name Flags
index final
o final
public long getTransactionTimeout(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.transactionTimeoutMillis:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 1 1 timeunit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeunit
public void setTransactionTimeout(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield org.glassfish.grizzly.threadpool.DefaultWorkerThread.transactionTimeoutMillis:J
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
0 2 1 timeout J
0 2 3 timeunit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeout
timeunit
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/threadpool/DefaultWorkerThread;
}
SourceFile: "DefaultWorkerThread.java"
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
public final ObjectCache = org.glassfish.grizzly.ThreadCache$ObjectCache of org.glassfish.grizzly.ThreadCache