final class com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty extends com.google.common.util.concurrent.SmoothRateLimiter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty
super_class: com.google.common.util.concurrent.SmoothRateLimiter
{
final double maxBurstSeconds;
descriptor: D
flags: (0x0010) ACC_FINAL
void <init>(com.google.common.util.concurrent.RateLimiter$SleepingStopwatch, double);
descriptor: (Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;D)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial com.google.common.util.concurrent.SmoothRateLimiter.<init>:(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)V
1: aload 0
dload 2
putfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxBurstSeconds:D
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/SmoothRateLimiter$SmoothBursty;
0 3 1 stopwatch Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;
0 3 2 maxBurstSeconds D
MethodParameters:
Name Flags
stopwatch
maxBurstSeconds
void doSetRate(double, double);
descriptor: (DD)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxPermits:D
dstore 5
start local 5 1: aload 0
aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxBurstSeconds:D
dload 1
dmul
putfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxPermits:D
2: dload 5
ldc Infinity
dcmpl
ifne 5
3: aload 0
aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxPermits:D
putfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.storedPermits:D
4: goto 10
5: StackMap locals: double
StackMap stack:
aload 0
6: dload 5
dconst_0
dcmpl
ifne 8
7: dconst_0
goto 9
8: StackMap locals:
StackMap stack: com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty
aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.storedPermits:D
aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.maxPermits:D
dmul
dload 5
ddiv
9: StackMap locals: com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty double double double
StackMap stack: com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty double
putfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.storedPermits:D
10: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/util/concurrent/SmoothRateLimiter$SmoothBursty;
0 11 1 permitsPerSecond D
0 11 3 stableIntervalMicros D
1 11 5 oldMaxPermits D
MethodParameters:
Name Flags
permitsPerSecond
stableIntervalMicros
long storedPermitsToWaitTime(double, double);
descriptor: (DD)J
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lconst_0
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/SmoothRateLimiter$SmoothBursty;
0 1 1 storedPermits D
0 1 3 permitsToTake D
MethodParameters:
Name Flags
storedPermits
permitsToTake
double coolDownIntervalMicros();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty.stableIntervalMicros:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/SmoothRateLimiter$SmoothBursty;
}
SourceFile: "SmoothRateLimiter.java"
NestHost: com.google.common.util.concurrent.SmoothRateLimiter
InnerClasses:
abstract SleepingStopwatch = com.google.common.util.concurrent.RateLimiter$SleepingStopwatch of com.google.common.util.concurrent.RateLimiter
final SmoothBursty = com.google.common.util.concurrent.SmoothRateLimiter$SmoothBursty of com.google.common.util.concurrent.SmoothRateLimiter