public class org.apache.cassandra.transport.Server$EndpointPayloadTracker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.transport.Server$EndpointPayloadTracker
super_class: java.lang.Object
{
private static final java.util.concurrent.ConcurrentMap<java.net.InetAddress, org.apache.cassandra.transport.Server$EndpointPayloadTracker> requestPayloadInFlightPerEndpoint;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/net/InetAddress;Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;>;
private final java.util.concurrent.atomic.AtomicInteger refCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.InetAddress endpoint;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal endpointAndGlobalPayloadsInFlight;
descriptor: Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.apache.cassandra.transport.Server$EndpointPayloadTracker.requestPayloadInFlightPerEndpoint:Ljava/util/concurrent/ConcurrentMap;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
new org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal
dup
new org.apache.cassandra.net.ResourceLimits$Concurrent
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getNativeTransportMaxConcurrentRequestsInBytesPerIp:()J
invokespecial org.apache.cassandra.net.ResourceLimits$Concurrent.<init>:(J)V
3: getstatic org.apache.cassandra.transport.Server.globalRequestPayloadInFlight:Lorg/apache/cassandra/net/ResourceLimits$Concurrent;
4: invokespecial org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.<init>:(Lorg/apache/cassandra/net/ResourceLimits$Limit;Lorg/apache/cassandra/net/ResourceLimits$Limit;)V
putfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.endpointAndGlobalPayloadsInFlight:Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
5: aload 0
aload 1
putfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.endpoint:Ljava/net/InetAddress;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
0 7 1 endpoint Ljava/net/InetAddress;
MethodParameters:
Name Flags
endpoint
public static org.apache.cassandra.transport.Server$EndpointPayloadTracker get(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.transport.Server$EndpointPayloadTracker.requestPayloadInFlightPerEndpoint:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/transport/Server$EndpointPayloadTracker.<init>(Ljava/net/InetAddress;)V (8)
(Ljava/net/InetAddress;)Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
invokeinterface java.util.concurrent.ConcurrentMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast org.apache.cassandra.transport.Server$EndpointPayloadTracker
astore 1
start local 1 1: aload 1
invokevirtual org.apache.cassandra.transport.Server$EndpointPayloadTracker.acquire:()Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: org.apache.cassandra.transport.Server$EndpointPayloadTracker
StackMap stack:
getstatic org.apache.cassandra.transport.Server$EndpointPayloadTracker.requestPayloadInFlightPerEndpoint:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
end local 1 4: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 endpoint Ljava/net/InetAddress;
1 4 1 result Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
MethodParameters:
Name Flags
endpoint
private boolean acquire();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokedynamic applyAsInt()Ljava/util/function/IntUnaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)I
org/apache/cassandra/transport/Server$EndpointPayloadTracker.lambda$1(I)I (6)
(I)I
invokevirtual java.util.concurrent.atomic.AtomicInteger.updateAndGet:(Ljava/util/function/IntUnaryOperator;)I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_m1
aload 0
getfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokedynamic applyAsInt()Ljava/util/function/IntUnaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(I)I
org/apache/cassandra/transport/Server$EndpointPayloadTracker.lambda$2(I)I (6)
(I)I
invokevirtual java.util.concurrent.atomic.AtomicInteger.updateAndGet:(Ljava/util/function/IntUnaryOperator;)I
if_icmpne 2
1: getstatic org.apache.cassandra.transport.Server$EndpointPayloadTracker.requestPayloadInFlightPerEndpoint:Ljava/util/concurrent/ConcurrentMap;
aload 0
getfield org.apache.cassandra.transport.Server$EndpointPayloadTracker.endpoint:Ljava/net/InetAddress;
aload 0
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/transport/Server$EndpointPayloadTracker;
private static int lambda$1(int);
descriptor: (I)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifge 1
iload 0
goto 2
StackMap locals:
StackMap stack:
1: iload 0
iconst_1
iadd
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
private static int lambda$2(int);
descriptor: (I)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
if_icmpne 1
iconst_m1
goto 2
StackMap locals:
StackMap stack:
1: iload 0
iconst_1
isub
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
}
SourceFile: "Server.java"
NestHost: org.apache.cassandra.transport.Server
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Concurrent = org.apache.cassandra.net.ResourceLimits$Concurrent of org.apache.cassandra.net.ResourceLimits
public EndpointAndGlobal = org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal of org.apache.cassandra.net.ResourceLimits
public abstract Limit = org.apache.cassandra.net.ResourceLimits$Limit of org.apache.cassandra.net.ResourceLimits
public EndpointPayloadTracker = org.apache.cassandra.transport.Server$EndpointPayloadTracker of org.apache.cassandra.transport.Server