final class io.netty.resolver.dns.RotationalDnsServerAddresses extends io.netty.resolver.dns.DefaultDnsServerAddresses
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.resolver.dns.RotationalDnsServerAddresses
super_class: io.netty.resolver.dns.DefaultDnsServerAddresses
{
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<io.netty.resolver.dns.RotationalDnsServerAddresses> startIdxUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lio/netty/resolver/dns/RotationalDnsServerAddresses;>;
private volatile int startIdx;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lio/netty/resolver/dns/RotationalDnsServerAddresses;
ldc "startIdx"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
1: putstatic io.netty.resolver.dns.RotationalDnsServerAddresses.startIdxUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.net.InetSocketAddress[]);
descriptor: ([Ljava/net/InetSocketAddress;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "rotational"
aload 1
invokespecial io.netty.resolver.dns.DefaultDnsServerAddresses.<init>:(Ljava/lang/String;[Ljava/net/InetSocketAddress;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/resolver/dns/RotationalDnsServerAddresses;
0 2 1 addresses [Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addresses
public io.netty.resolver.dns.DnsServerAddressStream stream();
descriptor: ()Lio/netty/resolver/dns/DnsServerAddressStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.resolver.dns.RotationalDnsServerAddresses.startIdx:I
istore 1
start local 1 1: iload 1
iconst_1
iadd
istore 2
start local 2 2: iload 2
aload 0
getfield io.netty.resolver.dns.RotationalDnsServerAddresses.addresses:[Ljava/net/InetSocketAddress;
arraylength
if_icmplt 4
3: iconst_0
istore 2
4: StackMap locals: int int
StackMap stack:
getstatic io.netty.resolver.dns.RotationalDnsServerAddresses.startIdxUpdater:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 1
iload 2
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 0
5: new io.netty.resolver.dns.SequentialDnsServerAddressStream
dup
aload 0
getfield io.netty.resolver.dns.RotationalDnsServerAddresses.addresses:[Ljava/net/InetSocketAddress;
iload 1
invokespecial io.netty.resolver.dns.SequentialDnsServerAddressStream.<init>:([Ljava/net/InetSocketAddress;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/resolver/dns/RotationalDnsServerAddresses;
1 6 1 curStartIdx I
2 6 2 nextStartIdx I
}
SourceFile: "RotationalDnsServerAddresses.java"