public class org.glassfish.grizzly.http.server.filecache.FileCache implements org.glassfish.grizzly.monitoring.MonitoringAware<org.glassfish.grizzly.http.server.filecache.FileCacheProbe>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.filecache.FileCache
super_class: java.lang.Object
{
private static final java.io.File TMP_DIR;
descriptor: Ljava/io/File;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final java.lang.String[] COMPRESSION_ALIASES;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger cacheSize;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentMap<org.glassfish.grizzly.http.server.filecache.FileCacheKey, org.glassfish.grizzly.http.server.filecache.FileCacheEntry> fileCacheMap;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lorg/glassfish/grizzly/http/server/filecache/FileCacheKey;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;>;
private final org.glassfish.grizzly.http.server.filecache.FileCacheEntry NULL_CACHE_ENTRY;
descriptor: Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int secondsMaxAge;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile int maxCacheEntries;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private long minEntrySize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxEntrySize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private volatile long maxLargeFileCacheSize;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long maxSmallFileCacheSize;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.atomic.AtomicLong mappedMemorySize;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong heapSize;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean enabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue<org.glassfish.grizzly.http.server.filecache.FileCacheEntry> delayQueue;
descriptor: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue<Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;>;
private volatile java.io.File compressedFilesFolder;
descriptor: Ljava/io/File;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final org.glassfish.grizzly.http.CompressionConfig compressionConfig;
descriptor: Lorg/glassfish/grizzly/http/CompressionConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean fileSendEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected final org.glassfish.grizzly.monitoring.DefaultMonitoringConfig<org.glassfish.grizzly.http.server.filecache.FileCacheProbe> monitoringConfig;
descriptor: Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig<Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;>;
private static volatile int[] $SWITCH_TABLE$org$glassfish$grizzly$http$CompressionConfig$CompressionMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$glassfish$grizzly$http$server$filecache$FileCache$CacheType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.io.File
dup
ldc "java.io.tmpdir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
1: putstatic org.glassfish.grizzly.http.server.filecache.FileCache.TMP_DIR:Ljava/io/File;
2: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "gzip"
aastore
putstatic org.glassfish.grizzly.http.server.filecache.FileCache.COMPRESSION_ALIASES:[Ljava/lang/String;
3: ldc Lorg/glassfish/grizzly/http/server/filecache/FileCache;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.server.filecache.FileCache.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.cacheSize:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
3: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
4: aload 0
new org.glassfish.grizzly.http.server.filecache.FileCacheEntry
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.filecache.FileCacheEntry.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;)V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.NULL_CACHE_ENTRY:Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
5: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.secondsMaxAge:I
6: aload 0
sipush 1024
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxCacheEntries:I
7: aload 0
ldc -9223372036854775808
putfield org.glassfish.grizzly.http.server.filecache.FileCache.minEntrySize:J
8: aload 0
ldc 9223372036854775807
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxEntrySize:J
9: aload 0
ldc 9223372036854775807
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxLargeFileCacheSize:J
10: aload 0
ldc 1048576
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxSmallFileCacheSize:J
11: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.mappedMemorySize:Ljava/util/concurrent/atomic/AtomicLong;
12: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.heapSize:Ljava/util/concurrent/atomic/AtomicLong;
13: aload 0
iconst_1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.enabled:Z
14: aload 0
getstatic org.glassfish.grizzly.http.server.filecache.FileCache.TMP_DIR:Ljava/io/File;
putfield org.glassfish.grizzly.http.server.filecache.FileCache.compressedFilesFolder:Ljava/io/File;
15: aload 0
new org.glassfish.grizzly.http.CompressionConfig
dup
invokespecial org.glassfish.grizzly.http.CompressionConfig.<init>:()V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.compressionConfig:Lorg/glassfish/grizzly/http/CompressionConfig;
16: aload 0
17: new org.glassfish.grizzly.http.server.filecache.FileCache$1
dup
aload 0
ldc Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
invokespecial org.glassfish.grizzly.http.server.filecache.FileCache$1.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Class;)V
putfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void initialize(org.glassfish.grizzly.utils.DelayedExecutor);
descriptor: (Lorg/glassfish/grizzly/utils/DelayedExecutor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.glassfish.grizzly.http.server.filecache.FileCache$EntryWorker
dup
invokespecial org.glassfish.grizzly.http.server.filecache.FileCache$EntryWorker.<init>:()V
1: new org.glassfish.grizzly.http.server.filecache.FileCache$EntryResolver
dup
invokespecial org.glassfish.grizzly.http.server.filecache.FileCache$EntryResolver.<init>:()V
2: invokevirtual org.glassfish.grizzly.utils.DelayedExecutor.createDelayQueue:(Lorg/glassfish/grizzly/utils/DelayedExecutor$Worker;Lorg/glassfish/grizzly/utils/DelayedExecutor$Resolver;)Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
putfield org.glassfish.grizzly.http.server.filecache.FileCache.delayQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 4 1 delayedExecutor Lorg/glassfish/grizzly/utils/DelayedExecutor;
MethodParameters:
Name Flags
delayedExecutor final
public org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult add(org.glassfish.grizzly.http.HttpRequestPacket, long);
descriptor: (Lorg/glassfish/grizzly/http/HttpRequestPacket;J)Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
lload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.add:(Lorg/glassfish/grizzly/http/HttpRequestPacket;Ljava/io/File;J)Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
0 1 2 lastModified J
MethodParameters:
Name Flags
request final
lastModified final
public org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File);
descriptor: (Lorg/glassfish/grizzly/http/HttpRequestPacket;Ljava/io/File;)Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokevirtual java.io.File.lastModified:()J
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.add:(Lorg/glassfish/grizzly/http/HttpRequestPacket;Ljava/io/File;J)Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
0 1 2 cacheFile Ljava/io/File;
MethodParameters:
Name Flags
request final
cacheFile final
protected org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File, long);
descriptor: (Lorg/glassfish/grizzly/http/HttpRequestPacket;Ljava/io/File;J)Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getRequestURI:()Ljava/lang/String;
astore 5
start local 5 1: aload 5
ifnonnull 3
2: getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult.FAILED:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
getstatic org.glassfish.grizzly.http.util.Header.Host:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
astore 6
start local 6 4: new org.glassfish.grizzly.http.server.filecache.FileCacheKey
dup
aload 6
aload 5
invokespecial org.glassfish.grizzly.http.server.filecache.FileCacheKey.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 5: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 7
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.NULL_CACHE_ENTRY:Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 8
6: aload 7
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCacheKey.recycle:()V
7: getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult.FAILED_ENTRY_EXISTS:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
areturn
8: StackMap locals: java.lang.String org.glassfish.grizzly.http.server.filecache.FileCacheKey
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.cacheSize:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
istore 8
start local 8 9: iload 8
aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMaxCacheEntries:()I
if_icmple 14
10: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.cacheSize:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
11: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 7
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 7
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCacheKey.recycle:()V
13: getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult.FAILED_CACHE_FULL:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
areturn
14: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
astore 9
start local 9 15: aload 9
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 10
start local 10 16: aload 9
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentType:()Ljava/lang/String;
astore 11
start local 11 17: aload 2
ifnull 21
18: aload 0
aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.createEntry:(Ljava/io/File;)Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
astore 12
start local 12 19: aload 12
aload 0
aload 2
aload 11
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.canBeCompressed:(Ljava/io/File;Ljava/lang/String;)Z
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCacheEntry.setCanBeCompressed:(Z)V
20: goto 23
end local 12 21: StackMap locals: org.glassfish.grizzly.http.HttpResponsePacket org.glassfish.grizzly.http.util.MimeHeaders java.lang.String
StackMap stack:
new org.glassfish.grizzly.http.server.filecache.FileCacheEntry
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.filecache.FileCacheEntry.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;)V
astore 12
start local 12 22: aload 12
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.TIMESTAMP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
23: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCacheEntry
StackMap stack:
aload 12
aload 7
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.key:Lorg/glassfish/grizzly/http/server/filecache/FileCacheKey;
24: aload 12
aload 5
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.requestURI:Ljava/lang/String;
25: aload 12
lload 3
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModified:J
26: aload 12
aload 11
invokestatic org.glassfish.grizzly.http.util.ContentType.newContentType:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/ContentType;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.contentType:Lorg/glassfish/grizzly/http/util/ContentType;
27: aload 12
aload 10
getstatic org.glassfish.grizzly.http.util.Header.XPoweredBy:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.xPoweredBy:Ljava/lang/String;
28: aload 12
aload 10
getstatic org.glassfish.grizzly.http.util.Header.Date:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.date:Ljava/lang/String;
29: aload 12
aload 10
getstatic org.glassfish.grizzly.http.util.Header.LastModified:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModifiedHeader:Ljava/lang/String;
30: aload 12
aload 6
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.host:Ljava/lang/String;
31: aload 12
aload 10
getstatic org.glassfish.grizzly.http.util.Header.ETag:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.Etag:Ljava/lang/String;
32: aload 12
aload 10
getstatic org.glassfish.grizzly.http.util.Header.Server:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.server:Ljava/lang/String;
33: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 7
aload 12
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: aload 0
aload 12
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesEntryAdded:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
35: aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getSecondsMaxAge:()I
istore 13
start local 13 36: iload 13
ifle 38
37: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.delayQueue:Lorg/glassfish/grizzly/utils/DelayedExecutor$DelayQueue;
aload 12
iload 13
i2l
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue.add:(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
38: StackMap locals: int
StackMap stack:
aload 12
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.TIMESTAMP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 40
39: getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult.OK_CACHED_TIMESTAMP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
goto 41
40: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult.OK_CACHED:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheResult;
41: StackMap locals:
StackMap stack: org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 42 1 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
0 42 2 cacheFile Ljava/io/File;
0 42 3 lastModified J
1 42 5 requestURI Ljava/lang/String;
4 42 6 host Ljava/lang/String;
5 42 7 key Lorg/glassfish/grizzly/http/server/filecache/FileCacheKey;
9 42 8 size I
15 42 9 response Lorg/glassfish/grizzly/http/HttpResponsePacket;
16 42 10 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
17 42 11 contentType Ljava/lang/String;
19 21 12 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
22 42 12 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
36 42 13 secondsMaxAgeLocal I
MethodParameters:
Name Flags
request final
cacheFile final
lastModified final
public org.glassfish.grizzly.http.server.filecache.FileCacheEntry get(org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.cacheSize:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.http.server.filecache.LazyFileCacheKey.create:(Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/server/filecache/LazyFileCacheKey;
astore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheEntry
astore 3
start local 3 3: aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.LazyFileCacheKey.recycle:()V
4: aload 3
ifnull 18
aload 3
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.NULL_CACHE_ENTRY:Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
if_acmpeq 18
5: aload 0
aload 3
aload 1
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.checkIfHeaders:(Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 4
start local 4 6: aload 4
ifnonnull 7
iconst_1
goto 8
StackMap locals: org.glassfish.grizzly.http.server.filecache.LazyFileCacheKey org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.util.HttpStatus
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 5
start local 5 9: iload 5
ifeq 11
aload 3
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.TIMESTAMP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 11
10: aconst_null
areturn
11: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 4
ifnull 13
12: aload 4
goto 14
13: StackMap locals:
StackMap stack: org.glassfish.grizzly.http.HttpResponsePacket
getstatic org.glassfish.grizzly.http.util.HttpStatus.OK_200:Lorg/glassfish/grizzly/http/util/HttpStatus;
14: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.http.server.filecache.LazyFileCacheKey org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.util.HttpStatus int
StackMap stack: org.glassfish.grizzly.http.HttpResponsePacket org.glassfish.grizzly.http.util.HttpStatus
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setStatus:(Lorg/glassfish/grizzly/http/util/HttpStatus;)V
15: aload 0
aload 3
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesEntryHit:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
16: aload 3
17: areturn
end local 5 end local 4 18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesEntryMissed:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/HttpRequestPacket;)V
19: goto 25
StackMap locals:
StackMap stack: java.lang.Exception
20: astore 4
start local 4 21: aload 0
aload 4
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
22: getstatic org.glassfish.grizzly.http.server.filecache.FileCache.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
23: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVER_FILECACHE_GENERAL_ERROR:()Ljava/lang/String;
aload 4
24: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 25: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 26 1 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
2 26 2 key Lorg/glassfish/grizzly/http/server/filecache/LazyFileCacheKey;
3 26 3 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
6 18 4 httpStatus Lorg/glassfish/grizzly/http/util/HttpStatus;
9 18 5 flushBody Z
21 25 4 e Ljava/lang/Exception;
Exception table:
from to target type
4 10 20 Class java.lang.Exception
11 17 20 Class java.lang.Exception
18 19 20 Class java.lang.Exception
MethodParameters:
Name Flags
request final
protected void remove(org.glassfish.grizzly.http.server.filecache.FileCacheEntry);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileCacheMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.key:Lorg/glassfish/grizzly/http/server/filecache/FileCacheKey;
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.cacheSize:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
2: StackMap locals:
StackMap stack:
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.MAPPED:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 5
3: aload 0
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.subMappedMemorySize:(J)J
pop2
4: goto 7
StackMap locals:
StackMap stack:
5: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.HEAP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 7
6: aload 0
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.subHeapSize:(J)J
pop2
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesEntryRemoved:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 9 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
MethodParameters:
Name Flags
entry final
protected java.lang.Object createJmxManagementObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "org.glassfish.grizzly.http.server.filecache.jmx.FileCache"
1: aload 0
ldc Lorg/glassfish/grizzly/http/server/filecache/FileCache;
2: invokestatic org.glassfish.grizzly.monitoring.MonitoringUtils.loadJmxObject:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
private org.glassfish.grizzly.http.server.filecache.FileCacheEntry createEntry(java.io.File);
descriptor: (Ljava/io/File;)Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.tryMapFileToBuffer:(Ljava/io/File;)Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new org.glassfish.grizzly.http.server.filecache.FileCacheEntry
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.filecache.FileCacheEntry.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;)V
astore 2
3: aload 2
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.FILE:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
4: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCacheEntry
StackMap stack:
aload 2
aload 1
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFile:Ljava/io/File;
5: aload 2
aload 1
invokevirtual java.io.File.length:()J
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFileSize:J
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 7 1 file Ljava/io/File;
1 7 2 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
MethodParameters:
Name Flags
file final
private org.glassfish.grizzly.http.server.filecache.FileCacheEntry tryMapFileToBuffer(java.io.File);
descriptor: (Ljava/io/File;)Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.length:()J
lstore 2
start local 2 1: lload 2
aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMaxEntrySize:()J
lcmp
ifle 3
2: aconst_null
areturn
3: StackMap locals: long
StackMap stack:
aconst_null
astore 6
start local 6 4: aconst_null
astore 7
start local 7 5: lload 2
aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMinEntrySize:()J
lcmp
ifle 21
6: aload 0
lload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.addMappedMemorySize:(J)J
aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMaxLargeFileCacheSize:()J
lcmp
ifle 19
7: aload 0
lload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.subMappedMemorySize:(J)J
pop2
8: aload 7
ifnull 13
9: aload 7
invokevirtual java.io.FileInputStream.close:()V
10: goto 13
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long top top java.nio.channels.FileChannel java.io.FileInputStream
StackMap stack: java.io.IOException
11: astore 10
start local 10 12: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 13: StackMap locals:
StackMap stack:
aload 6
ifnull 18
14: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
15: goto 18
StackMap locals:
StackMap stack: java.io.IOException
16: astore 10
start local 10 17: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 18: StackMap locals:
StackMap stack:
aconst_null
areturn
19: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.MAPPED:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
astore 4
start local 4 20: goto 35
end local 4 21: StackMap locals:
StackMap stack:
aload 0
lload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.addHeapSize:(J)J
aload 0
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.getMaxSmallFileCacheSize:()J
lcmp
ifle 34
22: aload 0
lload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.subHeapSize:(J)J
pop2
23: aload 7
ifnull 28
24: aload 7
invokevirtual java.io.FileInputStream.close:()V
25: goto 28
StackMap locals:
StackMap stack: java.io.IOException
26: astore 10
start local 10 27: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 28: StackMap locals:
StackMap stack:
aload 6
ifnull 33
29: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
30: goto 33
StackMap locals:
StackMap stack: java.io.IOException
31: astore 10
start local 10 32: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 33: StackMap locals:
StackMap stack:
aconst_null
areturn
34: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.HEAP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
astore 4
start local 4 35: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long org.glassfish.grizzly.http.server.filecache.FileCache$CacheType top java.nio.channels.FileChannel java.io.FileInputStream
StackMap stack:
new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 7
36: aload 7
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 6
37: aload 6
getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
lconst_0
lload 2
invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
astore 5
start local 5 38: aload 4
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.HEAP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 66
39: aload 5
checkcast java.nio.MappedByteBuffer
invokevirtual java.nio.MappedByteBuffer.load:()Ljava/nio/MappedByteBuffer;
pop
40: goto 66
end local 5 end local 4 StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long top top java.nio.channels.FileChannel java.io.FileInputStream
StackMap stack: java.lang.Exception
41: astore 8
start local 8 42: aload 0
aload 8
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
43: aload 7
ifnull 48
44: aload 7
invokevirtual java.io.FileInputStream.close:()V
45: goto 48
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long top top java.nio.channels.FileChannel java.io.FileInputStream java.lang.Exception
StackMap stack: java.io.IOException
46: astore 10
start local 10 47: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 48: StackMap locals:
StackMap stack:
aload 6
ifnull 53
49: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
50: goto 53
StackMap locals:
StackMap stack: java.io.IOException
51: astore 10
start local 10 52: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 53: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 8 54: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long top top java.nio.channels.FileChannel java.io.FileInputStream
StackMap stack: java.lang.Throwable
astore 9
55: aload 7
ifnull 60
56: aload 7
invokevirtual java.io.FileInputStream.close:()V
57: goto 60
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long top top java.nio.channels.FileChannel java.io.FileInputStream top java.lang.Throwable
StackMap stack: java.io.IOException
58: astore 10
start local 10 59: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 60: StackMap locals:
StackMap stack:
aload 6
ifnull 65
61: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
62: goto 65
StackMap locals:
StackMap stack: java.io.IOException
63: astore 10
start local 10 64: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 65: StackMap locals:
StackMap stack:
aload 9
athrow
start local 4 start local 5 66: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File long org.glassfish.grizzly.http.server.filecache.FileCache$CacheType java.nio.ByteBuffer java.nio.channels.FileChannel java.io.FileInputStream
StackMap stack:
aload 7
ifnull 71
67: aload 7
invokevirtual java.io.FileInputStream.close:()V
68: goto 71
StackMap locals:
StackMap stack: java.io.IOException
69: astore 10
start local 10 70: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 71: StackMap locals:
StackMap stack:
aload 6
ifnull 76
72: aload 6
invokevirtual java.nio.channels.FileChannel.close:()V
73: goto 76
StackMap locals:
StackMap stack: java.io.IOException
74: astore 10
start local 10 75: aload 0
aload 10
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 10 76: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.http.server.filecache.FileCacheEntry
dup
aload 0
invokespecial org.glassfish.grizzly.http.server.filecache.FileCacheEntry.<init>:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;)V
astore 8
start local 8 77: aload 8
aload 4
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
78: aload 8
lload 2
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFileSize:J
79: aload 8
aload 5
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.bb:Ljava/nio/ByteBuffer;
80: aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 81 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 81 1 file Ljava/io/File;
1 81 2 size J
20 21 4 type Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
35 41 4 type Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
66 81 4 type Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
38 41 5 bb Ljava/nio/ByteBuffer;
66 81 5 bb Ljava/nio/ByteBuffer;
4 81 6 fileChannel Ljava/nio/channels/FileChannel;
5 81 7 stream Ljava/io/FileInputStream;
42 54 8 e Ljava/lang/Exception;
12 13 10 ignored Ljava/io/IOException;
27 28 10 ignored Ljava/io/IOException;
47 48 10 ignored Ljava/io/IOException;
59 60 10 ignored Ljava/io/IOException;
70 71 10 ignored Ljava/io/IOException;
17 18 10 ignored Ljava/io/IOException;
32 33 10 ignored Ljava/io/IOException;
52 53 10 ignored Ljava/io/IOException;
64 65 10 ignored Ljava/io/IOException;
75 76 10 ignored Ljava/io/IOException;
77 81 8 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
Exception table:
from to target type
9 10 11 Class java.io.IOException
14 15 16 Class java.io.IOException
24 25 26 Class java.io.IOException
29 30 31 Class java.io.IOException
5 8 41 Class java.lang.Exception
19 23 41 Class java.lang.Exception
34 40 41 Class java.lang.Exception
44 45 46 Class java.io.IOException
49 50 51 Class java.io.IOException
5 8 54 any
19 23 54 any
34 43 54 any
56 57 58 Class java.io.IOException
61 62 63 Class java.io.IOException
67 68 69 Class java.io.IOException
72 73 74 Class java.io.IOException
MethodParameters:
Name Flags
file final
private boolean canBeCompressed(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$CompressionConfig$CompressionMode:()[I
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressionConfig:Lorg/glassfish/grizzly/http/CompressionConfig;
invokevirtual org.glassfish.grizzly.http.CompressionConfig.getCompressionMode:()Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
invokevirtual org.glassfish.grizzly.http.CompressionConfig$CompressionMode.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 2
2: 3
3: 1
default: 7
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.length:()J
4: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressionConfig:Lorg/glassfish/grizzly/http/CompressionConfig;
invokevirtual org.glassfish.grizzly.http.CompressionConfig.getCompressionMinSize:()I
i2l
lcmp
ifge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressionConfig:Lorg/glassfish/grizzly/http/CompressionConfig;
aload 2
invokevirtual org.glassfish.grizzly.http.CompressionConfig.checkMimeType:(Ljava/lang/String;)Z
ireturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Unknown mode"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 8 1 cacheFile Ljava/io/File;
0 8 2 contentType Ljava/lang/String;
MethodParameters:
Name Flags
cacheFile final
contentType final
public int getSecondsMaxAge();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.secondsMaxAge:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setSecondsMaxAge(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.glassfish.grizzly.http.server.filecache.FileCache.secondsMaxAge:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 secondsMaxAge I
MethodParameters:
Name Flags
secondsMaxAge
public int getMaxCacheEntries();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.maxCacheEntries:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setMaxCacheEntries(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.glassfish.grizzly.http.server.filecache.FileCache.maxCacheEntries:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 maxCacheEntries I
MethodParameters:
Name Flags
maxCacheEntries
public long getMinEntrySize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.minEntrySize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setMinEntrySize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.minEntrySize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 minEntrySize J
MethodParameters:
Name Flags
minEntrySize
public long getMaxEntrySize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.maxEntrySize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setMaxEntrySize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxEntrySize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 maxEntrySize J
MethodParameters:
Name Flags
maxEntrySize
public long getMaxLargeFileCacheSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.maxLargeFileCacheSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setMaxLargeFileCacheSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxLargeFileCacheSize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 maxLargeFileCacheSize J
MethodParameters:
Name Flags
maxLargeFileCacheSize
public long getMaxSmallFileCacheSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.maxSmallFileCacheSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setMaxSmallFileCacheSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.glassfish.grizzly.http.server.filecache.FileCache.maxSmallFileCacheSize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 maxSmallFileCacheSize J
MethodParameters:
Name Flags
maxSmallFileCacheSize
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setEnabled(boolean);
descriptor: (Z)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.glassfish.grizzly.http.server.filecache.FileCache.enabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 enabled Z
MethodParameters:
Name Flags
enabled
public org.glassfish.grizzly.http.CompressionConfig getCompressionConfig();
descriptor: ()Lorg/glassfish/grizzly/http/CompressionConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressionConfig:Lorg/glassfish/grizzly/http/CompressionConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public java.io.File getCompressedFilesFolder();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressedFilesFolder:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setCompressedFilesFolder(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 2
1: aload 1
goto 3
2: StackMap locals:
StackMap stack: org.glassfish.grizzly.http.server.filecache.FileCache
getstatic org.glassfish.grizzly.http.server.filecache.FileCache.TMP_DIR:Ljava/io/File;
3: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File
StackMap stack: org.glassfish.grizzly.http.server.filecache.FileCache java.io.File
putfield org.glassfish.grizzly.http.server.filecache.FileCache.compressedFilesFolder:Ljava/io/File;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 5 1 compressedFilesFolder Ljava/io/File;
MethodParameters:
Name Flags
compressedFilesFolder final
public boolean isFileSendEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.fileSendEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
public void setFileSendEnabled(boolean);
descriptor: (Z)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.glassfish.grizzly.http.server.filecache.FileCache.fileSendEnabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 2 1 fileSendEnabled Z
MethodParameters:
Name Flags
fileSendEnabled
protected void compressFile(org.glassfish.grizzly.http.server.filecache.FileCacheEntry);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFile:Ljava/io/File;
invokevirtual java.io.File.hashCode:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
1: ldc ".tmpzip"
aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.compressedFilesFolder:Ljava/io/File;
2: invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
astore 2
start local 2 3: aload 2
invokevirtual java.io.File.deleteOnExit:()V
4: aconst_null
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: new java.io.FileInputStream
dup
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFile:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 3
7: new java.util.zip.GZIPOutputStream
dup
8: new java.io.FileOutputStream
dup
aload 2
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
9: invokespecial java.util.zip.GZIPOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
10: sipush 1024
newarray 8
astore 5
start local 5 11: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry java.io.File java.io.InputStream java.io.OutputStream byte[]
StackMap stack:
aload 3
aload 5
invokevirtual java.io.InputStream.read:([B)I
istore 6
start local 6 12: iload 6
iconst_m1
if_icmpne 14
13: goto 26
14: StackMap locals: int
StackMap stack:
aload 4
aload 5
iconst_0
iload 6
invokevirtual java.io.OutputStream.write:([BII)V
end local 6 15: goto 11
end local 5 16: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry java.io.File java.io.InputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
astore 7
17: aload 3
ifnull 21
18: aload 3
invokevirtual java.io.InputStream.close:()V
19: goto 21
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry java.io.File java.io.InputStream java.io.OutputStream top top java.lang.Throwable
StackMap stack: java.io.IOException
20: pop
21: StackMap locals:
StackMap stack:
aload 4
ifnull 25
22: aload 4
invokevirtual java.io.OutputStream.close:()V
23: goto 25
StackMap locals:
StackMap stack: java.io.IOException
24: pop
25: StackMap locals:
StackMap stack:
aload 7
athrow
26: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry java.io.File java.io.InputStream java.io.OutputStream
StackMap stack:
aload 3
ifnull 30
27: aload 3
invokevirtual java.io.InputStream.close:()V
28: goto 30
StackMap locals:
StackMap stack: java.io.IOException
29: pop
30: StackMap locals:
StackMap stack:
aload 4
ifnull 34
31: aload 4
invokevirtual java.io.OutputStream.close:()V
32: goto 34
StackMap locals:
StackMap stack: java.io.IOException
33: pop
34: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.length:()J
lstore 5
start local 5 35: invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$server$filecache$FileCache$CacheType:()[I
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 36
2: 36
3: 51
default: 52
}
36: StackMap locals: long
StackMap stack:
new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
37: astore 7
start local 7 38: aload 7
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 8
start local 8 39: aload 8
40: getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
lconst_0
lload 5
41: invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
astore 9
start local 9 42: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.HEAP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
if_acmpne 44
43: aload 9
invokevirtual java.nio.MappedByteBuffer.load:()Ljava/nio/MappedByteBuffer;
pop
44: StackMap locals: java.io.FileInputStream java.nio.channels.FileChannel java.nio.MappedByteBuffer
StackMap stack:
aload 1
aload 9
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.compressedBb:Ljava/nio/ByteBuffer;
end local 9 end local 8 45: goto 49
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry java.io.File java.io.InputStream java.io.OutputStream long java.io.FileInputStream
StackMap stack: java.lang.Throwable
46: astore 10
47: aload 7
invokevirtual java.io.FileInputStream.close:()V
48: aload 10
athrow
49: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.io.FileInputStream.close:()V
50: goto 53
end local 7 51: StackMap locals:
StackMap stack:
goto 53
52: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "The type is not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.type:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
53: StackMap locals:
StackMap stack:
aload 1
lload 5
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.compressedFileSize:J
54: aload 1
aload 2
putfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.compressedFile:Ljava/io/File;
end local 5 end local 4 end local 3 end local 2 55: goto 58
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry
StackMap stack: java.io.IOException
56: astore 2
start local 2 57: getstatic org.glassfish.grizzly.http.server.filecache.FileCache.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Can not compress file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.plainFile:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 58: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 59 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
3 55 2 tmpCompressedFile Ljava/io/File;
5 55 3 in Ljava/io/InputStream;
6 55 4 out Ljava/io/OutputStream;
11 16 5 tmp [B
12 15 6 readNow I
35 55 5 size J
38 51 7 cFis Ljava/io/FileInputStream;
39 45 8 cFileChannel Ljava/nio/channels/FileChannel;
42 45 9 compressedBb Ljava/nio/MappedByteBuffer;
57 58 2 e Ljava/io/IOException;
Exception table:
from to target type
6 16 16 any
18 19 20 Class java.io.IOException
22 23 24 Class java.io.IOException
27 28 29 Class java.io.IOException
31 32 33 Class java.io.IOException
38 46 46 any
0 55 56 Class java.io.IOException
MethodParameters:
Name Flags
entry final
protected final long addHeapSize(long);
descriptor: (J)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.heapSize:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 size J
MethodParameters:
Name Flags
size
protected final long subHeapSize(long);
descriptor: (J)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.heapSize:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
lneg
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 size J
MethodParameters:
Name Flags
size
public long getHeapCacheSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.heapSize:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
protected final long addMappedMemorySize(long);
descriptor: (J)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.mappedMemorySize:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 size J
MethodParameters:
Name Flags
size
protected final long subMappedMemorySize(long);
descriptor: (J)J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.mappedMemorySize:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
lneg
invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 1 1 size J
MethodParameters:
Name Flags
size
public long getMappedCacheSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.mappedMemorySize:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
private org.glassfish.grizzly.http.util.HttpStatus (org.glassfish.grizzly.http.server.filecache.FileCacheEntry, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.checkIfMatch:(Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 3
start local 3 1: aload 3
ifnonnull 7
2: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.checkIfModifiedSince:(Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 3
3: aload 3
ifnonnull 7
4: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.checkIfNoneMatch:(Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 3
5: aload 3
ifnonnull 7
6: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache.checkIfUnmodifiedSince:(Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
astore 3
7: StackMap locals: org.glassfish.grizzly.http.util.HttpStatus
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 8 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
0 8 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
1 8 3 httpStatus Lorg/glassfish/grizzly/http/util/HttpStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry final
request final
private org.glassfish.grizzly.http.util.HttpStatus checkIfModifiedSince(org.glassfish.grizzly.http.server.filecache.FileCacheEntry, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic org.glassfish.grizzly.http.util.Header.IfModifiedSince:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 14
2: aload 3
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModifiedHeader:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: getstatic org.glassfish.grizzly.http.util.HttpStatus.NOT_MODIFIED_304:Lorg/glassfish/grizzly/http/util/HttpStatus;
4: areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.convertToLong:(Ljava/lang/String;)J
lstore 4
start local 4 6: lload 4
ldc -1
lcmp
ifeq 14
7: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModified:J
lstore 6
start local 6 8: aload 2
getstatic org.glassfish.grizzly.http.util.Header.IfNoneMatch:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
ifnonnull 14
9: lload 6
lload 4
lsub
ldc 1000
lcmp
ifgt 14
10: getstatic org.glassfish.grizzly.http.util.HttpStatus.NOT_MODIFIED_304:Lorg/glassfish/grizzly/http/util/HttpStatus;
11: areturn
end local 6 end local 4 end local 3 12: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.HttpRequestPacket
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 13: aload 0
aload 3
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 3 14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 15 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
0 15 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
1 12 3 reqModified Ljava/lang/String;
6 12 4 headerValue J
8 12 6 lastModified J
13 14 3 illegalArgument Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 4 12 Class java.lang.IllegalArgumentException
5 11 12 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry final
request final
private org.glassfish.grizzly.http.util.HttpStatus checkIfNoneMatch(org.glassfish.grizzly.http.server.filecache.FileCacheEntry, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic org.glassfish.grizzly.http.util.Header.IfNoneMatch:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 19
2: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.Etag:Ljava/lang/String;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
5: new java.util.StringTokenizer
dup
aload 3
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
6: astore 6
start local 6 7: goto 11
8: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.HttpRequestPacket java.lang.String java.lang.String int java.util.StringTokenizer
StackMap stack:
aload 6
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 9: aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
istore 5
end local 7 11: StackMap locals:
StackMap stack:
iload 5
ifne 14
aload 6
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 8
end local 6 12: goto 14
13: StackMap locals:
StackMap stack:
iconst_1
istore 5
14: StackMap locals:
StackMap stack:
iload 5
ifeq 19
15: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getMethod:()Lorg/glassfish/grizzly/http/Method;
astore 6
start local 6 16: getstatic org.glassfish.grizzly.http.Method.GET:Lorg/glassfish/grizzly/http/Method;
aload 6
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
getstatic org.glassfish.grizzly.http.Method.HEAD:Lorg/glassfish/grizzly/http/Method;
aload 6
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 18
17: StackMap locals: org.glassfish.grizzly.http.Method
StackMap stack:
getstatic org.glassfish.grizzly.http.util.HttpStatus.NOT_MODIFIED_304:Lorg/glassfish/grizzly/http/util/HttpStatus;
areturn
18: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.HttpStatus.PRECONDITION_FAILED_412:Lorg/glassfish/grizzly/http/util/HttpStatus;
areturn
end local 6 end local 5 end local 4 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 20 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
0 20 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
1 20 3 headerValue Ljava/lang/String;
3 19 4 eTag Ljava/lang/String;
4 19 5 conditionSatisfied Z
7 12 6 commaTokenizer Ljava/util/StringTokenizer;
9 11 7 currentToken Ljava/lang/String;
16 19 6 method Lorg/glassfish/grizzly/http/Method;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry final
request final
private org.glassfish.grizzly.http.util.HttpStatus checkIfUnmodifiedSince(org.glassfish.grizzly.http.server.filecache.FileCacheEntry, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModified:J
lstore 3
start local 3 1: aload 2
getstatic org.glassfish.grizzly.http.util.Header.IfUnmodifiedSince:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnull 13
3: aload 5
aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.lastModifiedHeader:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: getstatic org.glassfish.grizzly.http.util.HttpStatus.PRECONDITION_FAILED_412:Lorg/glassfish/grizzly/http/util/HttpStatus;
5: areturn
6: StackMap locals: long java.lang.String
StackMap stack:
aload 5
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.convertToLong:(Ljava/lang/String;)J
lstore 6
start local 6 7: lload 6
ldc -1
lcmp
ifeq 13
8: lload 6
lload 3
lsub
ldc 1000
lcmp
ifgt 13
9: getstatic org.glassfish.grizzly.http.util.HttpStatus.PRECONDITION_FAILED_412:Lorg/glassfish/grizzly/http/util/HttpStatus;
10: areturn
end local 6 end local 5 end local 3 11: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.HttpRequestPacket
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 12: aload 0
aload 3
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache.notifyProbesError:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 3 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 14 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
0 14 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
1 11 3 lastModified J
2 11 5 h Ljava/lang/String;
7 11 6 headerValue J
12 13 3 illegalArgument Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 5 11 Class java.lang.IllegalArgumentException
6 10 11 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry final
request final
private org.glassfish.grizzly.http.util.HttpStatus checkIfMatch(org.glassfish.grizzly.http.server.filecache.FileCacheEntry, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;Lorg/glassfish/grizzly/http/HttpRequestPacket;)Lorg/glassfish/grizzly/http/util/HttpStatus;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic org.glassfish.grizzly.http.util.Header.IfMatch:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 13
2: aload 3
bipush 42
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 13
3: aload 1
getfield org.glassfish.grizzly.http.server.filecache.FileCacheEntry.Etag:Ljava/lang/String;
astore 4
start local 4 4: new java.util.StringTokenizer
dup
aload 3
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.HttpRequestPacket java.lang.String java.lang.String java.util.StringTokenizer int
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 7
start local 7 8: aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iconst_1
istore 6
end local 7 10: StackMap locals:
StackMap stack:
iload 6
ifne 11
aload 5
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
11: StackMap locals:
StackMap stack:
iload 6
ifne 13
12: getstatic org.glassfish.grizzly.http.util.HttpStatus.PRECONDITION_FAILED_412:Lorg/glassfish/grizzly/http/util/HttpStatus;
areturn
end local 6 end local 5 end local 4 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 14 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
0 14 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
1 14 3 headerValue Ljava/lang/String;
4 13 4 eTag Ljava/lang/String;
5 13 5 commaTokenizer Ljava/util/StringTokenizer;
6 13 6 conditionSatisfied Z
8 10 7 currentToken Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry final
request final
public org.glassfish.grizzly.monitoring.MonitoringConfig<org.glassfish.grizzly.http.server.filecache.FileCacheProbe> getMonitoringConfig();
descriptor: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/filecache/FileCache;
Signature: ()Lorg/glassfish/grizzly/monitoring/MonitoringConfig<Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;>;
protected static void notifyProbesEntryAdded(org.glassfish.grizzly.http.server.filecache.FileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbesUnsafe:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
1: astore 2
start local 2 2: aload 2
ifnull 8
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[] top int int org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 0
aload 1
invokeinterface org.glassfish.grizzly.http.server.filecache.FileCacheProbe.onEntryAddedEvent:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 9 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
2 9 2 probes [Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
5 6 3 probe Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
MethodParameters:
Name Flags
fileCache final
entry final
protected static void notifyProbesEntryRemoved(org.glassfish.grizzly.http.server.filecache.FileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbesUnsafe:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
1: astore 2
start local 2 2: aload 2
ifnull 8
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[] top int int org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 0
aload 1
invokeinterface org.glassfish.grizzly.http.server.filecache.FileCacheProbe.onEntryRemovedEvent:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 9 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
2 9 2 probes [Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
5 6 3 probe Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
MethodParameters:
Name Flags
fileCache final
entry final
protected static void notifyProbesEntryHit(org.glassfish.grizzly.http.server.filecache.FileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbesUnsafe:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
1: astore 2
start local 2 2: aload 2
ifnull 8
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[] top int int org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 0
aload 1
invokeinterface org.glassfish.grizzly.http.server.filecache.FileCacheProbe.onEntryHitEvent:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;)V
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.server.filecache.FileCacheEntry org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 9 1 entry Lorg/glassfish/grizzly/http/server/filecache/FileCacheEntry;
2 9 2 probes [Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
5 6 3 probe Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
MethodParameters:
Name Flags
fileCache final
entry final
protected static void notifyProbesEntryMissed(org.glassfish.grizzly.http.server.filecache.FileCache, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCache;Lorg/glassfish/grizzly/http/HttpRequestPacket;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbesUnsafe:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
1: astore 2
start local 2 2: aload 2
ifnull 10
aload 2
arraylength
ifle 10
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.http.server.filecache.FileCacheProbe[] top int int org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 0
aload 1
getstatic org.glassfish.grizzly.http.util.Header.Host:Lorg/glassfish/grizzly/http/util/Header;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getHeader:(Lorg/glassfish/grizzly/http/util/Header;)Ljava/lang/String;
6: aload 1
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getRequestURI:()Ljava/lang/String;
7: invokeinterface org.glassfish.grizzly.http.server.filecache.FileCacheProbe.onEntryMissedEvent:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/String;Ljava/lang/String;)V
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 4
10: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 11 1 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
2 11 2 probes [Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
5 8 3 probe Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
MethodParameters:
Name Flags
fileCache final
request final
protected static void notifyProbesError(org.glassfish.grizzly.http.server.filecache.FileCache, java.lang.Throwable);
descriptor: (Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.filecache.FileCache.monitoringConfig:Lorg/glassfish/grizzly/monitoring/DefaultMonitoringConfig;
invokevirtual org.glassfish.grizzly.monitoring.DefaultMonitoringConfig.getProbesUnsafe:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
1: astore 2
start local 2 2: aload 2
ifnull 8
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.lang.Throwable org.glassfish.grizzly.http.server.filecache.FileCacheProbe[] top int int org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 0
aload 1
invokeinterface org.glassfish.grizzly.http.server.filecache.FileCacheProbe.onErrorEvent:(Lorg/glassfish/grizzly/http/server/filecache/FileCache;Ljava/lang/Throwable;)V
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: StackMap locals: org.glassfish.grizzly.http.server.filecache.FileCache java.lang.Throwable org.glassfish.grizzly.http.server.filecache.FileCacheProbe[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fileCache Lorg/glassfish/grizzly/http/server/filecache/FileCache;
0 9 1 error Ljava/lang/Throwable;
2 9 2 probes [Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
5 6 3 probe Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;
MethodParameters:
Name Flags
fileCache final
error final
protected static long convertToLong(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc -1
lreturn
2: StackMap locals:
StackMap stack:
invokestatic org.glassfish.grizzly.http.server.util.SimpleDateFormats.create:()Lorg/glassfish/grizzly/http/server/util/SimpleDateFormats;
astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.util.SimpleDateFormats.getFormats:()[Ljava/text/SimpleDateFormat;
invokestatic org.glassfish.grizzly.http.util.FastHttpDateFormat.parseDate:(Ljava/lang/String;[Ljava/text/DateFormat;)J
lstore 2
start local 2 4: lload 2
ldc -1
lcmp
ifeq 8
5: lload 2
lstore 5
6: aload 1
invokevirtual org.glassfish.grizzly.http.server.util.SimpleDateFormats.recycle:()V
7: lload 5
lreturn
8: StackMap locals: org.glassfish.grizzly.http.server.util.SimpleDateFormats long
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 0
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals: java.lang.String org.glassfish.grizzly.http.server.util.SimpleDateFormats
StackMap stack: java.lang.Throwable
astore 4
10: aload 1
invokevirtual org.glassfish.grizzly.http.server.util.SimpleDateFormats.recycle:()V
11: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 dateHeader Ljava/lang/String;
3 12 1 formats Lorg/glassfish/grizzly/http/server/util/SimpleDateFormats;
4 9 2 result J
Exception table:
from to target type
3 6 9 any
8 9 9 any
MethodParameters:
Name Flags
dateHeader final
static int[] $SWITCH_TABLE$org$glassfish$grizzly$http$CompressionConfig$CompressionMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$CompressionConfig$CompressionMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.grizzly.http.CompressionConfig$CompressionMode.values:()[Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.grizzly.http.CompressionConfig$CompressionMode.FORCE:Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
invokevirtual org.glassfish.grizzly.http.CompressionConfig$CompressionMode.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.grizzly.http.CompressionConfig$CompressionMode.OFF:Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
invokevirtual org.glassfish.grizzly.http.CompressionConfig$CompressionMode.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.grizzly.http.CompressionConfig$CompressionMode.ON:Lorg/glassfish/grizzly/http/CompressionConfig$CompressionMode;
invokevirtual org.glassfish.grizzly.http.CompressionConfig$CompressionMode.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$CompressionConfig$CompressionMode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$org$glassfish$grizzly$http$server$filecache$FileCache$CacheType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$server$filecache$FileCache$CacheType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.values:()[Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.FILE:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.HEAP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.MAPPED:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.TIMESTAMP:Lorg/glassfish/grizzly/http/server/filecache/FileCache$CacheType;
invokevirtual org.glassfish.grizzly.http.server.filecache.FileCache$CacheType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.glassfish.grizzly.http.server.filecache.FileCache.$SWITCH_TABLE$org$glassfish$grizzly$http$server$filecache$FileCache$CacheType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Object;Lorg/glassfish/grizzly/monitoring/MonitoringAware<Lorg/glassfish/grizzly/http/server/filecache/FileCacheProbe;>;
SourceFile: "FileCache.java"
NestMembers:
org.glassfish.grizzly.http.server.filecache.FileCache$1 org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult org.glassfish.grizzly.http.server.filecache.FileCache$CacheType org.glassfish.grizzly.http.server.filecache.FileCache$EntryResolver org.glassfish.grizzly.http.server.filecache.FileCache$EntryWorker
InnerClasses:
public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel
public final CompressionMode = org.glassfish.grizzly.http.CompressionConfig$CompressionMode of org.glassfish.grizzly.http.CompressionConfig
org.glassfish.grizzly.http.server.filecache.FileCache$1
public final CacheResult = org.glassfish.grizzly.http.server.filecache.FileCache$CacheResult of org.glassfish.grizzly.http.server.filecache.FileCache
public final CacheType = org.glassfish.grizzly.http.server.filecache.FileCache$CacheType of org.glassfish.grizzly.http.server.filecache.FileCache
private EntryResolver = org.glassfish.grizzly.http.server.filecache.FileCache$EntryResolver of org.glassfish.grizzly.http.server.filecache.FileCache
private EntryWorker = org.glassfish.grizzly.http.server.filecache.FileCache$EntryWorker of org.glassfish.grizzly.http.server.filecache.FileCache
public DelayQueue = org.glassfish.grizzly.utils.DelayedExecutor$DelayQueue of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Resolver = org.glassfish.grizzly.utils.DelayedExecutor$Resolver of org.glassfish.grizzly.utils.DelayedExecutor
public abstract Worker = org.glassfish.grizzly.utils.DelayedExecutor$Worker of org.glassfish.grizzly.utils.DelayedExecutor