final class io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry implements io.netty.resolver.dns.DnsCacheEntry
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry
super_class: java.lang.Object
{
private final java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Throwable cause;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile io.netty.util.concurrent.ScheduledFuture<?> expirationFuture;
descriptor: Lio/netty/util/concurrent/ScheduledFuture;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lio/netty/util/concurrent/ScheduledFuture<*>;
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$DefaultDnsCacheEntry.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.net.InetAddress);
descriptor: (Ljava/lang/String;Ljava/net/InetAddress;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "hostname"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.hostname:Ljava/lang/String;
2: aload 0
aload 2
ldc "address"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.net.InetAddress
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:Ljava/net/InetAddress;
3: aload 0
aconst_null
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:Ljava/lang/Throwable;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
0 5 1 hostname Ljava/lang/String;
0 5 2 address Ljava/net/InetAddress;
MethodParameters:
Name Flags
hostname
address
void <init>(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "hostname"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.hostname:Ljava/lang/String;
2: aload 0
aload 2
ldc "cause"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Throwable
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:Ljava/lang/Throwable;
3: aload 0
aconst_null
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:Ljava/net/InetAddress;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
0 5 1 hostname Ljava/lang/String;
0 5 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
hostname
cause
public java.net.InetAddress address();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
public java.lang.Throwable cause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
java.lang.String hostname();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.hostname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
void scheduleExpiration(io.netty.channel.EventLoop, java.lang.Runnable, long, java.util.concurrent.TimeUnit);
descriptor: (Lio/netty/channel/EventLoop;Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: getstatic io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.$assertionsDisabled:Z
ifne 1
aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.expirationFuture:Lio/netty/util/concurrent/ScheduledFuture;
ifnull 1
new java.lang.AssertionError
dup
ldc "expiration task scheduled already"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
lload 3
aload 5
invokeinterface io.netty.channel.EventLoop.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture;
putfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.expirationFuture:Lio/netty/util/concurrent/ScheduledFuture;
2: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
0 3 1 loop Lio/netty/channel/EventLoop;
0 3 2 task Ljava/lang/Runnable;
0 3 3 delay J
0 3 5 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
loop
task
delay
unit
void cancelExpiration();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.expirationFuture:Lio/netty/util/concurrent/ScheduledFuture;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
iconst_0
invokeinterface io.netty.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
3: StackMap locals: io.netty.util.concurrent.ScheduledFuture
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/resolver/dns/DefaultDnsCache$DefaultDnsCacheEntry;
1 4 1 expirationFuture Lio/netty/util/concurrent/ScheduledFuture<*>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:Ljava/lang/Throwable;
ifnull 2
1: new java.lang.StringBuilder
dup
aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.hostname:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.cause:Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.dns.DefaultDnsCache$DefaultDnsCacheEntry.address:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this 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