public abstract class org.eclipse.jetty.server.session.AbstractSessionDataStore extends org.eclipse.jetty.util.component.ContainerLifeCycle implements org.eclipse.jetty.server.session.SessionDataStore
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.server.session.AbstractSessionDataStore
super_class: org.eclipse.jetty.util.component.ContainerLifeCycle
{
static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected org.eclipse.jetty.server.session.SessionContext _context;
descriptor: Lorg/eclipse/jetty/server/session/SessionContext;
flags: (0x0004) ACC_PROTECTED
protected int _gracePeriodSec;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected long _lastExpiryCheckTime;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected int _savePeriodSec;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.eclipse.jetty.server.session"
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/String;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.session.AbstractSessionDataStore.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.util.component.ContainerLifeCycle.<init>:()V
1: aload 0
sipush 3600
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._gracePeriodSec:I
2: aload 0
lconst_0
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._lastExpiryCheckTime:J
3: aload 0
iconst_0
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._savePeriodSec:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
public abstract void doStore(java.lang.String, org.eclipse.jetty.server.session.SessionData, long);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/session/SessionData;J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
id
data
lastSaveTime
public abstract org.eclipse.jetty.server.session.SessionData doLoad(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/server/session/SessionData;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
id
public abstract java.util.Set<java.lang.String> doGetExpired(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
candidates
public void initialize(org.eclipse.jetty.server.session.SessionContext);
descriptor: (Lorg/eclipse/jetty/server/session/SessionContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.server.session.AbstractSessionDataStore.isStarted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Context set after SessionDataStore started"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 4 1 context Lorg/eclipse/jetty/server/session/SessionContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
public org.eclipse.jetty.server.session.SessionData load(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/server/session/SessionData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 2
start local 2 1: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 3
start local 3 2: new org.eclipse.jetty.server.session.AbstractSessionDataStore$1
dup
aload 0
aload 2
aload 1
aload 3
invokespecial org.eclipse.jetty.server.session.AbstractSessionDataStore$1.<init>:(Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicReference;)V
astore 4
start local 4 3: aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
aload 4
invokevirtual org.eclipse.jetty.server.session.SessionContext.run:(Ljava/lang/Runnable;)V
4: aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 6
5: aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Exception
athrow
6: StackMap locals: java.util.concurrent.atomic.AtomicReference java.util.concurrent.atomic.AtomicReference java.lang.Runnable
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.session.SessionData
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 7 1 id Ljava/lang/String;
1 7 2 reference Ljava/util/concurrent/atomic/AtomicReference<Lorg/eclipse/jetty/server/session/SessionData;>;
2 7 3 exception Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Exception;>;
3 7 4 r Ljava/lang/Runnable;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
id
public void store(java.lang.String, org.eclipse.jetty.server.session.SessionData);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/session/SessionData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 3
start local 3 3: new org.eclipse.jetty.server.session.AbstractSessionDataStore$2
dup
aload 0
aload 2
aload 1
aload 3
invokespecial org.eclipse.jetty.server.session.AbstractSessionDataStore$2.<init>:(Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;Lorg/eclipse/jetty/server/session/SessionData;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicReference;)V
astore 4
start local 4 4: aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
aload 4
invokevirtual org.eclipse.jetty.server.session.SessionContext.run:(Ljava/lang/Runnable;)V
5: aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnull 7
6: aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Exception
athrow
7: StackMap locals: java.util.concurrent.atomic.AtomicReference java.lang.Runnable
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 8 1 id Ljava/lang/String;
0 8 2 data Lorg/eclipse/jetty/server/session/SessionData;
3 8 3 exception Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Exception;>;
4 8 4 r Ljava/lang/Runnable;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
id
data
public java.util.Set<java.lang.String> getExpired(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.server.session.AbstractSessionDataStore.doGetExpired:(Ljava/util/Set;)Ljava/util/Set;
astore 3
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._lastExpiryCheckTime:J
2: aload 3
areturn
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
4: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._lastExpiryCheckTime:J
5: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 6 1 candidates Ljava/util/Set<Ljava/lang/String;>;
Exception table:
from to target type
0 1 3 any
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
candidates
public org.eclipse.jetty.server.session.SessionData newSessionData(java.lang.String, long, long, long, long);
descriptor: (Ljava/lang/String;JJJJ)Lorg/eclipse/jetty/server/session/SessionData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 0: new org.eclipse.jetty.server.session.SessionData
dup
aload 1
aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
invokevirtual org.eclipse.jetty.server.session.SessionContext.getCanonicalContextPath:()Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
invokevirtual org.eclipse.jetty.server.session.SessionContext.getVhost:()Ljava/lang/String;
lload 2
lload 4
lload 6
lload 8
invokespecial org.eclipse.jetty.server.session.SessionData.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJJJ)V
areturn
end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 1 1 id Ljava/lang/String;
0 1 2 created J
0 1 4 accessed J
0 1 6 lastAccessed J
0 1 8 maxInactiveMs J
MethodParameters:
Name Flags
id
created
accessed
lastAccessed
maxInactiveMs
protected void checkStarted();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.server.session.AbstractSessionDataStore.isStarted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already started"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
Exceptions:
throws java.lang.IllegalStateException
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._context:Lorg/eclipse/jetty/server/session/SessionContext;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No SessionContext"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokespecial org.eclipse.jetty.util.component.ContainerLifeCycle.doStart:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
Exceptions:
throws java.lang.Exception
public int getGracePeriodSec();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._gracePeriodSec:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "interval in secs to prevent too eager session scavenging", readonly = true)
public void setGracePeriodSec(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._gracePeriodSec:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 2 1 sec I
MethodParameters:
Name Flags
sec
public int getSavePeriodSec();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.session.AbstractSessionDataStore._savePeriodSec:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "min secs between saves", readonly = true)
public void setSavePeriodSec(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.server.session.AbstractSessionDataStore._savePeriodSec:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
0 2 1 savePeriodSec I
MethodParameters:
Name Flags
savePeriodSec
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s@%x[passivating=%b,graceSec=%d]"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokevirtual org.eclipse.jetty.server.session.AbstractSessionDataStore.isPassivating:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_3
aload 0
invokevirtual org.eclipse.jetty.server.session.AbstractSessionDataStore.getGracePeriodSec:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/session/AbstractSessionDataStore;
}
SourceFile: "AbstractSessionDataStore.java"
NestMembers:
org.eclipse.jetty.server.session.AbstractSessionDataStore$1 org.eclipse.jetty.server.session.AbstractSessionDataStore$2
InnerClasses:
org.eclipse.jetty.server.session.AbstractSessionDataStore$1
org.eclipse.jetty.server.session.AbstractSessionDataStore$2
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject()