public class org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal
super_class: java.lang.Object
{
final org.apache.cassandra.net.ResourceLimits$Limit endpoint;
descriptor: Lorg/apache/cassandra/net/ResourceLimits$Limit;
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.net.ResourceLimits$Limit global;
descriptor: Lorg/apache/cassandra/net/ResourceLimits$Limit;
flags: (0x0010) ACC_FINAL
public void <init>(org.apache.cassandra.net.ResourceLimits$Limit, org.apache.cassandra.net.ResourceLimits$Limit);
descriptor: (Lorg/apache/cassandra/net/ResourceLimits$Limit;Lorg/apache/cassandra/net/ResourceLimits$Limit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
putfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.endpoint:Lorg/apache/cassandra/net/ResourceLimits$Limit;
2: aload 0
aload 2
putfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
0 4 1 endpoint Lorg/apache/cassandra/net/ResourceLimits$Limit;
0 4 2 global Lorg/apache/cassandra/net/ResourceLimits$Limit;
MethodParameters:
Name Flags
endpoint
global
public org.apache.cassandra.net.ResourceLimits$Limit endpoint();
descriptor: ()Lorg/apache/cassandra/net/ResourceLimits$Limit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.endpoint:Lorg/apache/cassandra/net/ResourceLimits$Limit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
public org.apache.cassandra.net.ResourceLimits$Limit global();
descriptor: ()Lorg/apache/cassandra/net/ResourceLimits$Limit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
public org.apache.cassandra.net.ResourceLimits$Outcome tryAllocate(long);
descriptor: (J)Lorg/apache/cassandra/net/ResourceLimits$Outcome;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.tryAllocate:(J)Z
ifne 2
1: getstatic org.apache.cassandra.net.ResourceLimits$Outcome.INSUFFICIENT_GLOBAL:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.endpoint:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.tryAllocate:(J)Z
ifeq 4
3: getstatic org.apache.cassandra.net.ResourceLimits$Outcome.SUCCESS:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.release:(J)Lorg/apache/cassandra/net/ResourceLimits$Outcome;
pop
5: getstatic org.apache.cassandra.net.ResourceLimits$Outcome.INSUFFICIENT_ENDPOINT:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
0 6 1 amount J
MethodParameters:
Name Flags
amount
public void allocate(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
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.allocate:(J)V
1: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.endpoint:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.allocate:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
0 3 1 amount J
MethodParameters:
Name Flags
amount
public org.apache.cassandra.net.ResourceLimits$Outcome release(long);
descriptor: (J)Lorg/apache/cassandra/net/ResourceLimits$Outcome;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.endpoint:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.release:(J)Lorg/apache/cassandra/net/ResourceLimits$Outcome;
astore 3
start local 3 1: aload 0
getfield org.apache.cassandra.net.ResourceLimits$EndpointAndGlobal.global:Lorg/apache/cassandra/net/ResourceLimits$Limit;
lload 1
invokeinterface org.apache.cassandra.net.ResourceLimits$Limit.release:(J)Lorg/apache/cassandra/net/ResourceLimits$Outcome;
astore 4
start local 4 2: aload 3
getstatic org.apache.cassandra.net.ResourceLimits$Outcome.ABOVE_LIMIT:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
if_acmpeq 3
aload 4
getstatic org.apache.cassandra.net.ResourceLimits$Outcome.ABOVE_LIMIT:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
if_acmpne 4
3: StackMap locals: org.apache.cassandra.net.ResourceLimits$Outcome org.apache.cassandra.net.ResourceLimits$Outcome
StackMap stack:
getstatic org.apache.cassandra.net.ResourceLimits$Outcome.ABOVE_LIMIT:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
goto 5
StackMap locals:
StackMap stack:
4: getstatic org.apache.cassandra.net.ResourceLimits$Outcome.BELOW_LIMIT:Lorg/apache/cassandra/net/ResourceLimits$Outcome;
5: StackMap locals:
StackMap stack: org.apache.cassandra.net.ResourceLimits$Outcome
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/net/ResourceLimits$EndpointAndGlobal;
0 6 1 amount J
1 6 3 endpointReleaseOutcome Lorg/apache/cassandra/net/ResourceLimits$Outcome;
2 6 4 globalReleaseOutcome Lorg/apache/cassandra/net/ResourceLimits$Outcome;
MethodParameters:
Name Flags
amount
}
SourceFile: "ResourceLimits.java"
NestHost: org.apache.cassandra.net.ResourceLimits
InnerClasses:
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 final Outcome = org.apache.cassandra.net.ResourceLimits$Outcome of org.apache.cassandra.net.ResourceLimits