public abstract class org.hibernate.stat.internal.AbstractCacheableDataStatistics implements org.hibernate.stat.CacheableDataStatistics
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.stat.internal.AbstractCacheableDataStatistics
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger log;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String cacheRegionName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder cacheHitCount;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder cacheMissCount;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.LongAdder cachePutCount;
descriptor: Ljava/util/concurrent/atomic/LongAdder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.stat.internal.AbstractCacheableDataStatistics.log:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.function.Supplier<org.hibernate.cache.spi.Region>);
descriptor: (Ljava/util/function/Supplier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast org.hibernate.cache.spi.Region
astore 2
start local 2 2: aload 2
ifnonnull 8
3: aload 0
aconst_null
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
4: aload 0
aconst_null
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheHitCount:Ljava/util/concurrent/atomic/LongAdder;
5: aload 0
aconst_null
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheMissCount:Ljava/util/concurrent/atomic/LongAdder;
6: aload 0
aconst_null
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cachePutCount:Ljava/util/concurrent/atomic/LongAdder;
7: goto 12
8: StackMap locals: org.hibernate.stat.internal.AbstractCacheableDataStatistics java.util.function.Supplier org.hibernate.cache.spi.Region
StackMap stack:
aload 0
aload 2
invokeinterface org.hibernate.cache.spi.Region.getName:()Ljava/lang/String;
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
9: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheHitCount:Ljava/util/concurrent/atomic/LongAdder;
10: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheMissCount:Ljava/util/concurrent/atomic/LongAdder;
11: aload 0
new java.util.concurrent.atomic.LongAdder
dup
invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
putfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cachePutCount:Ljava/util/concurrent/atomic/LongAdder;
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
0 13 1 regionSupplier Ljava/util/function/Supplier<Lorg/hibernate/cache/spi/Region;>;
2 13 2 region Lorg/hibernate/cache/spi/Region;
Signature: (Ljava/util/function/Supplier<Lorg/hibernate/cache/spi/Region;>;)V
MethodParameters:
Name Flags
regionSupplier
public java.lang.String getCacheRegionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public long getCacheHitCount();
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.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: ldc -9223372036854775808
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheHitCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public long getCachePutCount();
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.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: ldc -9223372036854775808
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cachePutCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public long getCacheMissCount();
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.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: ldc -9223372036854775808
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheMissCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.sum:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public void incrementCacheHitCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to increment cache hit count for non-cached data"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheHitCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public void incrementCacheMissCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to increment cache miss count for non-cached data"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheMissCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
public void incrementCachePutCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to increment cache put count for non-cached data"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cachePutCount:Ljava/util/concurrent/atomic/LongAdder;
invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
protected void appendCacheStats(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc ",cacheRegion="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 0
getfield org.hibernate.stat.internal.AbstractCacheableDataStatistics.cacheRegionName:Ljava/lang/String;
ifnonnull 3
2: return
3: StackMap locals:
StackMap stack:
aload 1
ldc ",cacheHitCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.stat.internal.AbstractCacheableDataStatistics.getCacheHitCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
4: ldc ",cacheMissCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.stat.internal.AbstractCacheableDataStatistics.getCacheMissCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: ldc ",cachePutCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.hibernate.stat.internal.AbstractCacheableDataStatistics.getCachePutCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/stat/internal/AbstractCacheableDataStatistics;
0 7 1 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buf
}
SourceFile: "AbstractCacheableDataStatistics.java"