class sun.security.util.MemoryCache$SoftCacheEntry<K, V> extends java.lang.ref.SoftReference<V> implements sun.security.util.MemoryCache$CacheEntry<K, V>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.util.MemoryCache$SoftCacheEntry
super_class: java.lang.ref.SoftReference
{
private K key;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TK;
private long expirationTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>(K, V, long, java.lang.ref.ReferenceQueue<V>);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;JLjava/lang/ref/ReferenceQueue;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 2
aload 5
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
aload 1
putfield sun.security.util.MemoryCache$SoftCacheEntry.key:Ljava/lang/Object;
2: aload 0
lload 3
putfield sun.security.util.MemoryCache$SoftCacheEntry.expirationTime:J
3: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
0 4 1 key TK;
0 4 2 value TV;
0 4 3 expirationTime J
0 4 5 queue Ljava/lang/ref/ReferenceQueue<TV;>;
Signature: (TK;TV;JLjava/lang/ref/ReferenceQueue<TV;>;)V
MethodParameters:
Name Flags
key
value
expirationTime
queue
public K getKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.util.MemoryCache$SoftCacheEntry.key:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
Signature: ()TK;
public V getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.util.MemoryCache$SoftCacheEntry.get:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
Signature: ()TV;
public long getExpirationTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.util.MemoryCache$SoftCacheEntry.expirationTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
public boolean isValid(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield sun.security.util.MemoryCache$SoftCacheEntry.expirationTime:J
lcmp
ifgt 1
aload 0
invokevirtual sun.security.util.MemoryCache$SoftCacheEntry.get:()Ljava/lang/Object;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: iload 3
ifne 5
4: aload 0
invokevirtual sun.security.util.MemoryCache$SoftCacheEntry.invalidate:()V
5: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
0 6 1 currentTime J
3 6 3 valid Z
MethodParameters:
Name Flags
currentTime
public void invalidate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.util.MemoryCache$SoftCacheEntry.clear:()V
1: aload 0
aconst_null
putfield sun.security.util.MemoryCache$SoftCacheEntry.key:Ljava/lang/Object;
2: aload 0
ldc -1
putfield sun.security.util.MemoryCache$SoftCacheEntry.expirationTime:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/util/MemoryCache$SoftCacheEntry<TK;TV;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/ref/SoftReference<TV;>;Lsun/security/util/MemoryCache$CacheEntry<TK;TV;>;
SourceFile: "Cache.java"
NestHost: sun.security.util.MemoryCache
InnerClasses:
private abstract CacheEntry = sun.security.util.MemoryCache$CacheEntry of sun.security.util.MemoryCache
private SoftCacheEntry = sun.security.util.MemoryCache$SoftCacheEntry of sun.security.util.MemoryCache