final class io.netty.resolver.dns.DefaultDnsCache$Entries extends java.util.concurrent.atomic.AtomicReference<java.util.List<io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.DefaultDnsCache$Entries
super_class: java.util.concurrent.atomic.AtomicReference
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/resolver/dns/DefaultDnsCache;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.resolver.dns.DefaultDnsCache$Entries.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry);
descriptor: (Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/resolver/dns/DefaultDnsCache$Entries;
0 2 1 entry Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
MethodParameters:
Name Flags
entry
void add(io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry);
descriptor: (Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;)V
flags: (0x0000)
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:()Ljava/lang/Throwable;
ifnonnull 28
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.get:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 26
3: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
astore 3
start local 3 4: aload 3
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:()Ljava/lang/Throwable;
ifnull 9
5: getstatic io.netty.resolver.dns.DefaultDnsCache$Entries.$assertionsDisabled:Z
ifne 6
aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: java.util.List io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
StackMap stack:
aload 0
aload 2
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 1
7: aload 3
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cancelExpiration:()V
8: return
9: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
iconst_1
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 10: aconst_null
astore 5
start local 5 11: iconst_0
istore 6
start local 6 12: goto 20
13: StackMap locals: java.util.List io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry int
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
astore 7
start local 7 14: aload 1
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:()Ljava/net/InetAddress;
aload 7
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifne 17
15: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: goto 19
17: StackMap locals: io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
StackMap stack:
getstatic io.netty.resolver.dns.DefaultDnsCache$Entries.$assertionsDisabled:Z
ifne 18
aload 5
ifnull 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals:
StackMap stack:
aload 7
astore 5
end local 7 19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 13
end local 6 21: aload 4
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 0
aload 2
aload 4
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 1
23: aload 5
ifnull 25
24: aload 5
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cancelExpiration:()V
25: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 26: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 1
27: return
end local 2 28: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 29: aload 2
invokestatic io.netty.resolver.dns.DefaultDnsCache$Entries.cancelExpiration:(Ljava/util/List;)V
end local 2 30: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lio/netty/resolver/dns/DefaultDnsCache$Entries;
0 31 1 e Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
2 28 2 entries Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;
4 26 3 firstEntry Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
10 26 4 newEntries Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;
11 26 5 replacedEntry Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
12 21 6 i I
14 19 7 entry Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
29 30 2 entries Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;
MethodParameters:
Name Flags
e
boolean clearAndCancel();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokevirtual io.netty.resolver.dns.DefaultDnsCache$Entries.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals: java.util.List
StackMap stack:
aload 1
invokestatic io.netty.resolver.dns.DefaultDnsCache$Entries.cancelExpiration:(Ljava/util/List;)V
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/resolver/dns/DefaultDnsCache$Entries;
1 5 1 entries Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;
private static void cancelExpiration(java.util.List<io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry>);
descriptor: (Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
invokevirtual io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cancelExpiration:()V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 1
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 entryList Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;
1 7 1 numEntries I
2 6 2 i I
Signature: (Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;)V
MethodParameters:
Name Flags
entryList
}
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/List<Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;>;>;
SourceFile: "DefaultDnsCache.java"
NestHost: io.netty.resolver.dns.DefaultDnsCache
InnerClasses:
private final DefaultDnsCacheEntry = io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry of io.netty.resolver.dns.DefaultDnsCache
private final Entries = io.netty.resolver.dns.DefaultDnsCache$Entries of io.netty.resolver.dns.DefaultDnsCache