public class org.hibernate.stat.internal.NaturalIdStatisticsImpl extends org.hibernate.stat.internal.AbstractCacheableDataStatistics implements org.hibernate.stat.NaturalIdStatistics, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.stat.internal.NaturalIdStatisticsImpl
super_class: org.hibernate.stat.internal.AbstractCacheableDataStatistics
{
private final java.lang.String rootEntityName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong executionCount;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong executionMaxTime;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong executionMinTime;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong totalExecutionTime;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Lock readLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.locks.Lock writeLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
invokedynamic get(Lorg/hibernate/persister/entity/EntityPersister;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/hibernate/stat/internal/NaturalIdStatisticsImpl.lambda$0(Lorg/hibernate/persister/entity/EntityPersister;)Lorg/hibernate/cache/spi/Region; (6)
()Lorg/hibernate/cache/spi/Region;
invokespecial org.hibernate.stat.internal.AbstractCacheableDataStatistics.<init>:(Ljava/util/function/Supplier;)V
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
4: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
ldc 9223372036854775807
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
5: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.totalExecutionTime:Ljava/util/concurrent/atomic/AtomicLong;
6: aload 0
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getRootEntityName:()Ljava/lang/String;
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.rootEntityName:Ljava/lang/String;
7: new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
astore 2
start local 2 8: aload 0
aload 2
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.readLock:Ljava/util/concurrent/locks/Lock;
9: aload 0
aload 2
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
putfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.writeLock:Ljava/util/concurrent/locks/Lock;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
0 11 1 rootEntityDescriptor Lorg/hibernate/persister/entity/EntityPersister;
8 11 2 lock Ljava/util/concurrent/locks/ReadWriteLock;
MethodParameters:
Name Flags
rootEntityDescriptor
public long getExecutionCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
public long getExecutionAvgTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.writeLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: lconst_0
lstore 1
start local 1 2: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lconst_0
lcmp
ifle 4
3: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.totalExecutionTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
ldiv
lstore 1
4: StackMap locals: long
StackMap stack:
lload 1
lstore 4
5: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.writeLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: lload 4
lreturn
end local 1 7: StackMap locals: org.hibernate.stat.internal.NaturalIdStatisticsImpl
StackMap stack: java.lang.Throwable
astore 3
8: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.writeLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: aload 3
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
2 7 1 avgExecutionTime J
Exception table:
from to target type
1 5 7 any
public long getExecutionMaxTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
public long getExecutionMinTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
void queryExecuted(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.readLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 2: goto 4
StackMap locals: long
StackMap stack:
3: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
StackMap locals:
StackMap stack:
4: lload 1
lload 3
lcmp
ifge 5
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
lload 3
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 3
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
start local 3 6: goto 8
StackMap locals: long
StackMap stack:
7: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 3
StackMap locals:
StackMap stack:
8: lload 1
lload 3
lcmp
ifle 9
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
lload 3
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
ifeq 7
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
pop2
10: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.totalExecutionTime:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
pop2
11: goto 15
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
13: aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.readLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.readLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
0 17 1 time J
2 5 3 old J
6 9 3 old J
Exception table:
from to target type
1 12 12 any
MethodParameters:
Name Flags
time
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
1: ldc "NaturalIdCacheStatistics"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "[rootEntityName="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.rootEntityName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc ",executionCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionCount:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc ",executionAvgTime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.stat.internal.NaturalIdStatisticsImpl.getExecutionAvgTime:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: ldc ",executionMinTime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMinTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ",executionMaxTime="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.stat.internal.NaturalIdStatisticsImpl.executionMaxTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: astore 1
start local 1 8: aload 0
aload 1
invokevirtual org.hibernate.stat.internal.NaturalIdStatisticsImpl.appendCacheStats:(Ljava/lang/StringBuilder;)V
9: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/stat/internal/NaturalIdStatisticsImpl;
8 10 1 buf Ljava/lang/StringBuilder;
private static org.hibernate.cache.spi.Region lambda$0(org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;)Lorg/hibernate/cache/spi/Region;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface org.hibernate.persister.entity.EntityPersister.getNaturalIdCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
ifnull 2
1: aload 0
invokeinterface org.hibernate.persister.entity.EntityPersister.getNaturalIdCacheAccessStrategy:()Lorg/hibernate/cache/spi/access/NaturalIdDataAccess;
invokeinterface org.hibernate.cache.spi.access.NaturalIdDataAccess.getRegion:()Lorg/hibernate/cache/spi/DomainDataRegion;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
StackMap locals:
StackMap stack: org.hibernate.cache.spi.DomainDataRegion
3: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "NaturalIdStatisticsImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles