public abstract class org.apache.catalina.session.StoreBase extends org.apache.catalina.util.LifecycleBase implements org.apache.catalina.Store
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.session.StoreBase
super_class: org.apache.catalina.util.LifecycleBase
{
protected static final java.lang.String storeName;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "StoreBase"
protected final java.beans.PropertyChangeSupport support;
descriptor: Ljava/beans/PropertyChangeSupport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected org.apache.catalina.Manager manager;
descriptor: Lorg/apache/catalina/Manager;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/session/StoreBase;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.session.StoreBase.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleBase.<init>:()V
1: aload 0
new java.beans.PropertyChangeSupport
dup
aload 0
invokespecial java.beans.PropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield org.apache.catalina.session.StoreBase.support:Ljava/beans/PropertyChangeSupport;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/session/StoreBase;
public java.lang.String getStoreName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "StoreBase"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/StoreBase;
public void setManager(org.apache.catalina.Manager);
descriptor: (Lorg/apache/catalina/Manager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
2: aload 0
getfield org.apache.catalina.session.StoreBase.support:Ljava/beans/PropertyChangeSupport;
ldc "manager"
aload 2
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/session/StoreBase;
0 4 1 manager Lorg/apache/catalina/Manager;
1 4 2 oldManager Lorg/apache/catalina/Manager;
MethodParameters:
Name Flags
manager
public org.apache.catalina.Manager getManager();
descriptor: ()Lorg/apache/catalina/Manager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/StoreBase;
public void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.StoreBase.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/StoreBase;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.StoreBase.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/StoreBase;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public java.lang.String[] expiredKeys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.StoreBase.keys:()[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/StoreBase;
Exceptions:
throws java.io.IOException
public void processExpires();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.apache.catalina.session.StoreBase.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifne 3
2: return
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.StoreBase.expiredKeys:()[Ljava/lang/String;
astore 1
4: goto 8
StackMap locals:
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
ldc "Error getting keys"
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
7: return
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 10
9: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.StoreBase.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": processExpires check number of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " sessions"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 11: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 42
StackMap locals: org.apache.catalina.session.StoreBase java.lang.String[] long top int int java.lang.String[]
StackMap stack:
12: aload 7
iload 5
aaload
astore 4
start local 4 13: aload 0
aload 4
invokevirtual org.apache.catalina.session.StoreBase.load:(Ljava/lang/String;)Lorg/apache/catalina/Session;
checkcast org.apache.catalina.session.StandardSession
astore 8
start local 8 14: aload 8
ifnonnull 16
15: goto 41
16: StackMap locals: org.apache.catalina.session.StoreBase java.lang.String[] long java.lang.String int int java.lang.String[] org.apache.catalina.session.StandardSession
StackMap stack:
lload 2
aload 8
invokevirtual org.apache.catalina.session.StandardSession.getThisAccessedTime:()J
lsub
ldc 1000
ldiv
l2i
istore 9
start local 9 17: iload 9
aload 8
invokevirtual org.apache.catalina.session.StandardSession.getMaxInactiveInterval:()I
if_icmpge 19
18: goto 41
19: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 21
20: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.StoreBase.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": processExpires expire store session "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
iconst_0
istore 10
start local 10 22: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
instanceof org.apache.catalina.session.PersistentManagerBase
ifeq 25
23: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
checkcast org.apache.catalina.session.PersistentManagerBase
aload 4
invokevirtual org.apache.catalina.session.PersistentManagerBase.isLoaded:(Ljava/lang/String;)Z
istore 10
24: goto 29
25: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
aload 4
invokeinterface org.apache.catalina.Manager.findSession:(Ljava/lang/String;)Lorg/apache/catalina/Session;
ifnull 29
26: iconst_1
istore 10
27: goto 29
StackMap locals:
StackMap stack: java.io.IOException
28: pop
29: StackMap locals:
StackMap stack:
iload 10
ifeq 32
30: aload 8
invokevirtual org.apache.catalina.session.StandardSession.recycle:()V
31: goto 33
32: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.catalina.session.StandardSession.expire:()V
33: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.session.StoreBase.remove:(Ljava/lang/String;)V
end local 10 end local 9 end local 8 34: goto 41
StackMap locals: org.apache.catalina.session.StoreBase java.lang.String[] long java.lang.String int int java.lang.String[]
StackMap stack: java.lang.Exception
35: astore 8
start local 8 36: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Session: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
37: aload 0
aload 4
invokevirtual org.apache.catalina.session.StoreBase.remove:(Ljava/lang/String;)V
38: goto 41
StackMap locals: org.apache.catalina.session.StoreBase java.lang.String[] long java.lang.String int int java.lang.String[] java.lang.Exception
StackMap stack: java.io.IOException
39: astore 9
start local 9 40: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
ldc "Error removing key"
aload 9
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 9 end local 8 end local 4 41: StackMap locals: org.apache.catalina.session.StoreBase java.lang.String[] long top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
42: iload 5
iload 6
if_icmplt 12
43: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/apache/catalina/session/StoreBase;
1 44 1 keys [Ljava/lang/String;
6 8 2 e Ljava/io/IOException;
11 44 2 timeNow J
13 41 4 key Ljava/lang/String;
14 34 8 session Lorg/apache/catalina/session/StandardSession;
17 34 9 timeIdle I
22 34 10 isLoaded Z
36 41 8 e Ljava/lang/Exception;
40 41 9 e2 Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
25 27 28 Class java.io.IOException
13 15 35 Class java.lang.Exception
16 18 35 Class java.lang.Exception
19 34 35 Class java.lang.Exception
37 38 39 Class java.io.IOException
protected java.io.ObjectInputStream getObjectInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/io/ObjectInputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: new java.io.BufferedInputStream
dup
aload 1
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 2: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
instanceof org.apache.catalina.session.ManagerBase
ifeq 9
3: aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
checkcast org.apache.catalina.session.ManagerBase
astore 5
start local 5 4: new org.apache.catalina.util.CustomObjectInputStream
dup
aload 2
aload 4
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
5: aload 5
invokevirtual org.apache.catalina.session.ManagerBase.getSessionAttributeValueClassNamePattern:()Ljava/util/regex/Pattern;
6: aload 5
invokevirtual org.apache.catalina.session.ManagerBase.getWarnOnSessionAttributeFilterFailure:()Z
7: invokespecial org.apache.catalina.util.CustomObjectInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;Lorg/apache/juli/logging/Log;Ljava/util/regex/Pattern;Z)V
astore 3
end local 5 start local 3 8: goto 10
end local 3 9: StackMap locals: org.apache.catalina.session.StoreBase java.io.InputStream java.io.BufferedInputStream top java.lang.ClassLoader
StackMap stack:
new org.apache.catalina.util.CustomObjectInputStream
dup
aload 2
aload 4
invokespecial org.apache.catalina.util.CustomObjectInputStream.<init>:(Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
astore 3
start local 3 10: StackMap locals: org.apache.catalina.session.StoreBase java.io.InputStream java.io.BufferedInputStream org.apache.catalina.util.CustomObjectInputStream java.lang.ClassLoader
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/session/StoreBase;
0 11 1 is Ljava/io/InputStream;
1 11 2 bis Ljava/io/BufferedInputStream;
8 9 3 ois Lorg/apache/catalina/util/CustomObjectInputStream;
10 11 3 ois Lorg/apache/catalina/util/CustomObjectInputStream;
2 11 4 classLoader Ljava/lang/ClassLoader;
4 8 5 managerBase Lorg/apache/catalina/session/ManagerBase;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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/apache/catalina/session/StoreBase;
protected synchronized void startInternal();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.session.StoreBase.setState:(Lorg/apache/catalina/LifecycleState;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/StoreBase;
Exceptions:
throws org.apache.catalina.LifecycleException
protected synchronized void stopInternal();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.session.StoreBase.setState:(Lorg/apache/catalina/LifecycleState;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/StoreBase;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void destroyInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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/apache/catalina/session/StoreBase;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.catalina.session.StoreBase.manager:Lorg/apache/catalina/Manager;
invokestatic org.apache.catalina.util.ToStringUtil.toString:(Ljava/lang/Object;Lorg/apache/catalina/Manager;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/StoreBase;
}
SourceFile: "StoreBase.java"