public class org.hibernate.cache.internal.TimestampsCacheEnabledImpl implements org.hibernate.cache.spi.TimestampsCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cache.internal.TimestampsCacheEnabledImpl
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 static final boolean DEBUG_ENABLED;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.cache.spi.TimestampsRegion timestampsRegion;
descriptor: Lorg/hibernate/cache/spi/TimestampsRegion;
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/cache/internal/TimestampsCacheEnabledImpl;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.log:Lorg/jboss/logging/Logger;
1: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.log:Lorg/jboss/logging/Logger;
invokevirtual org.jboss.logging.Logger.isDebugEnabled:()Z
putstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.DEBUG_ENABLED:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.cache.spi.TimestampsRegion);
descriptor: (Lorg/hibernate/cache/spi/TimestampsRegion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.cache.internal.TimestampsCacheEnabledImpl.timestampsRegion:Lorg/hibernate/cache/spi/TimestampsRegion;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
0 3 1 timestampsRegion Lorg/hibernate/cache/spi/TimestampsRegion;
MethodParameters:
Name Flags
timestampsRegion
public org.hibernate.cache.spi.TimestampsRegion getRegion();
descriptor: ()Lorg/hibernate/cache/spi/TimestampsRegion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.TimestampsCacheEnabledImpl.timestampsRegion:Lorg/hibernate/cache/spi/TimestampsRegion;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
public void preInvalidate(java.lang.String[], org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: ([Ljava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 3
start local 3 1: aload 3
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCache:()Lorg/hibernate/cache/spi/CacheImplementor;
invokeinterface org.hibernate.cache.spi.CacheImplementor.getRegionFactory:()Lorg/hibernate/cache/spi/RegionFactory;
astore 4
start local 4 2: aload 3
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.isStatisticsEnabled:()Z
istore 5
start local 5 3: aload 4
invokeinterface org.hibernate.cache.spi.RegionFactory.nextTimestamp:()J
aload 4
invokeinterface org.hibernate.cache.spi.RegionFactory.getTimeout:()J
ladd
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 6
start local 6 4: aload 1
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 18
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.cache.spi.RegionFactory int java.lang.Long top int int java.io.Serializable[]
StackMap stack:
5: aload 10
iload 8
aaload
astore 7
start local 7 6: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.DEBUG_ENABLED:Z
ifeq 8
7: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.log:Lorg/jboss/logging/Logger;
ldc "Pre-invalidating space [%s], timestamp: %s"
aload 7
aload 6
invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
8: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.cache.spi.RegionFactory int java.lang.Long java.io.Serializable int int java.io.Serializable[]
StackMap stack:
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutStart:()V
9: aload 0
getfield org.hibernate.cache.internal.TimestampsCacheEnabledImpl.timestampsRegion:Lorg/hibernate/cache/spi/TimestampsRegion;
aload 7
aload 6
aload 2
invokeinterface org.hibernate.cache.spi.TimestampsRegion.putIntoCache:(Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
10: goto 14
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
12: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
13: aload 11
athrow
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
15: iload 5
ifeq 17
16: aload 3
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.updateTimestampsCachePut:()V
end local 7 17: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.cache.spi.RegionFactory int java.lang.Long top int int java.io.Serializable[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
18: iload 8
iload 9
if_icmplt 5
19: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
0 20 1 spaces [Ljava/lang/String;
0 20 2 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
1 20 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
2 20 4 regionFactory Lorg/hibernate/cache/spi/RegionFactory;
3 20 5 stats Z
4 20 6 ts Ljava/lang/Long;
6 17 7 space Ljava/io/Serializable;
Exception table:
from to target type
8 11 11 any
MethodParameters:
Name Flags
spaces
session
public void invalidate(java.lang.String[], org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: ([Ljava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.isStatisticsEnabled:()Z
istore 3
start local 3 1: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCache:()Lorg/hibernate/cache/spi/CacheImplementor;
invokeinterface org.hibernate.cache.spi.CacheImplementor.getRegionFactory:()Lorg/hibernate/cache/spi/RegionFactory;
invokeinterface org.hibernate.cache.spi.RegionFactory.nextTimestamp:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
start local 4 2: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 18
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor int java.lang.Long top int int java.io.Serializable[]
StackMap stack:
3: aload 8
iload 6
aaload
astore 5
start local 5 4: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.DEBUG_ENABLED:Z
ifeq 6
5: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.log:Lorg/jboss/logging/Logger;
ldc "Invalidating space [%s], timestamp: %s"
aload 5
aload 4
invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor int java.lang.Long java.io.Serializable int int java.io.Serializable[]
StackMap stack:
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutStart:()V
7: aload 0
getfield org.hibernate.cache.internal.TimestampsCacheEnabledImpl.timestampsRegion:Lorg/hibernate/cache/spi/TimestampsRegion;
aload 5
aload 4
aload 2
invokeinterface org.hibernate.cache.spi.TimestampsRegion.putIntoCache:(Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
8: goto 14
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
10: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
11: iload 3
ifeq 13
12: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.updateTimestampsCachePut:()V
13: StackMap locals: java.lang.Throwable
StackMap stack:
aload 9
athrow
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cachePutEnd:()V
15: iload 3
ifeq 17
16: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.updateTimestampsCachePut:()V
end local 5 17: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] org.hibernate.engine.spi.SharedSessionContractImplementor int java.lang.Long top int int java.io.Serializable[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 7
if_icmplt 3
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
0 20 1 spaces [Ljava/lang/String;
0 20 2 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
1 20 3 stats Z
2 20 4 ts Ljava/lang/Long;
4 17 5 space Ljava/io/Serializable;
Exception table:
from to target type
6 9 9 any
MethodParameters:
Name Flags
spaces
session
public boolean isUpToDate(java.lang.String[], java.lang.Long, org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: ([Ljava/lang/String;Ljava/lang/Long;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.isStatisticsEnabled:()Z
istore 4
start local 4 1: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 19
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] java.lang.Long org.hibernate.engine.spi.SharedSessionContractImplementor int top int int java.io.Serializable[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: aload 0
aload 5
aload 3
invokevirtual org.hibernate.cache.internal.TimestampsCacheEnabledImpl.getLastUpdateTimestampForSpace:(Ljava/io/Serializable;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/Long;
astore 9
start local 9 4: aload 9
ifnonnull 8
5: iload 4
ifeq 18
6: aload 3
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.updateTimestampsCacheMiss:()V
7: goto 18
8: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] java.lang.Long org.hibernate.engine.spi.SharedSessionContractImplementor int java.io.Serializable int int java.io.Serializable[] java.lang.Long
StackMap stack:
getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.DEBUG_ENABLED:Z
ifeq 14
9: getstatic org.hibernate.cache.internal.TimestampsCacheEnabledImpl.log:Lorg/jboss/logging/Logger;
10: ldc "[%s] last update timestamp: %s"
11: aload 5
12: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", result set timestamp: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual org.jboss.logging.Logger.debugf:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
iload 4
ifeq 16
15: aload 3
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getStatistics:()Lorg/hibernate/stat/spi/StatisticsImplementor;
invokeinterface org.hibernate.stat.spi.StatisticsImplementor.updateTimestampsCacheHit:()V
16: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.lang.Long.longValue:()J
aload 2
invokevirtual java.lang.Long.longValue:()J
lcmp
iflt 18
17: iconst_0
ireturn
end local 9 end local 5 18: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.lang.String[] java.lang.Long org.hibernate.engine.spi.SharedSessionContractImplementor int top int int java.io.Serializable[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 7
if_icmplt 2
20: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
0 21 1 spaces [Ljava/lang/String;
0 21 2 timestamp Ljava/lang/Long;
0 21 3 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
1 21 4 stats Z
3 18 5 space Ljava/io/Serializable;
4 18 9 lastUpdate Ljava/lang/Long;
MethodParameters:
Name Flags
spaces
timestamp
session
private java.lang.Long getLastUpdateTimestampForSpace(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: (Ljava/io/Serializable;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/Long;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cacheGetStart:()V
2: aload 0
getfield org.hibernate.cache.internal.TimestampsCacheEnabledImpl.timestampsRegion:Lorg/hibernate/cache/spi/TimestampsRegion;
aload 1
aload 2
invokeinterface org.hibernate.cache.spi.TimestampsRegion.getFromCache:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Ljava/lang/Object;
checkcast java.lang.Long
astore 3
3: goto 9
4: StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.io.Serializable org.hibernate.engine.spi.SharedSessionContractImplementor java.lang.Long
StackMap stack: java.lang.Throwable
astore 4
5: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
aload 3
ifnull 6
iconst_1
goto 7
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.io.Serializable org.hibernate.engine.spi.SharedSessionContractImplementor java.lang.Long java.lang.Throwable
StackMap stack: org.hibernate.engine.spi.SessionEventListenerManager
6: iconst_0
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.io.Serializable org.hibernate.engine.spi.SharedSessionContractImplementor java.lang.Long java.lang.Throwable
StackMap stack: org.hibernate.engine.spi.SessionEventListenerManager int
7: invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cacheGetEnd:(Z)V
8: aload 4
athrow
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getEventListenerManager:()Lorg/hibernate/engine/spi/SessionEventListenerManager;
aload 3
ifnull 10
iconst_1
goto 11
StackMap locals:
StackMap stack: org.hibernate.engine.spi.SessionEventListenerManager
10: iconst_0
StackMap locals: org.hibernate.cache.internal.TimestampsCacheEnabledImpl java.io.Serializable org.hibernate.engine.spi.SharedSessionContractImplementor java.lang.Long
StackMap stack: org.hibernate.engine.spi.SessionEventListenerManager int
11: invokeinterface org.hibernate.engine.spi.SessionEventListenerManager.cacheGetEnd:(Z)V
12: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/cache/internal/TimestampsCacheEnabledImpl;
0 13 1 space Ljava/io/Serializable;
0 13 2 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
1 13 3 ts Ljava/lang/Long;
Exception table:
from to target type
1 4 4 any
MethodParameters:
Name Flags
space
session
}
SourceFile: "TimestampsCacheEnabledImpl.java"