class org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy extends org.apache.cassandra.utils.CoalescingStrategies$CoalescingStrategy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy
super_class: org.apache.cassandra.utils.CoalescingStrategies$CoalescingStrategy
{
private final long coalesceWindow;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, org.apache.cassandra.utils.CoalescingStrategies$Parker, org.slf4j.Logger, java.lang.String);
descriptor: (ILorg/apache/cassandra/utils/CoalescingStrategies$Parker;Lorg/slf4j/Logger;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
aload 3
aload 4
invokespecial org.apache.cassandra.utils.CoalescingStrategies$CoalescingStrategy.<init>:(Lorg/apache/cassandra/utils/CoalescingStrategies$Parker;Lorg/slf4j/Logger;Ljava/lang/String;)V
1: aload 0
getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
iload 1
i2l
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
putfield org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy.coalesceWindow:J
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/CoalescingStrategies$FixedCoalescingStrategy;
0 3 1 coalesceWindowMicros I
0 3 2 parker Lorg/apache/cassandra/utils/CoalescingStrategies$Parker;
0 3 3 logger Lorg/slf4j/Logger;
0 3 4 displayName Ljava/lang/String;
MethodParameters:
Name Flags
coalesceWindowMicros
parker
logger
displayName
protected <C extends org.apache.cassandra.utils.CoalescingStrategies$Coalescable> void coalesceInternal(java.util.concurrent.BlockingQueue<C>, java.util.List<C>, );
descriptor: (Ljava/util/concurrent/BlockingQueue;Ljava/util/List;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getOtcCoalescingEnoughCoalescedMessages:()I
istore 4
start local 4 1: aload 1
aload 2
iload 3
invokeinterface java.util.concurrent.BlockingQueue.drainTo:(Ljava/util/Collection;I)I
ifne 7
2: aload 2
aload 1
invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.CoalescingStrategies$Coalescable
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
aload 2
iload 3
aload 2
invokeinterface java.util.List.size:()I
isub
invokeinterface java.util.concurrent.BlockingQueue.drainTo:(Ljava/util/Collection;I)I
pop
4: aload 2
invokeinterface java.util.List.size:()I
iload 4
if_icmpge 7
5: aload 0
getfield org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy.parker:Lorg/apache/cassandra/utils/CoalescingStrategies$Parker;
aload 0
getfield org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy.coalesceWindow:J
invokeinterface org.apache.cassandra.utils.CoalescingStrategies$Parker.park:(J)V
6: aload 1
aload 2
iload 3
aload 2
invokeinterface java.util.List.size:()I
isub
invokeinterface java.util.concurrent.BlockingQueue.drainTo:(Ljava/util/Collection;I)I
pop
7: StackMap locals: int
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy.debugTimestamps:(Ljava/util/Collection;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/utils/CoalescingStrategies$FixedCoalescingStrategy;
0 9 1 input Ljava/util/concurrent/BlockingQueue<TC;>;
0 9 2 out Ljava/util/List<TC;>;
0 9 3 maxItems I
1 9 4 enough I
Exceptions:
throws java.lang.InterruptedException
Signature: <C::Lorg/apache/cassandra/utils/CoalescingStrategies$Coalescable;>(Ljava/util/concurrent/BlockingQueue<TC;>;Ljava/util/List<TC;>;I)V
MethodParameters:
Name Flags
input
out
maxItems
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Fixed"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/CoalescingStrategies$FixedCoalescingStrategy;
}
SourceFile: "CoalescingStrategies.java"
NestHost: org.apache.cassandra.utils.CoalescingStrategies
InnerClasses:
public abstract Coalescable = org.apache.cassandra.utils.CoalescingStrategies$Coalescable of org.apache.cassandra.utils.CoalescingStrategies
public abstract CoalescingStrategy = org.apache.cassandra.utils.CoalescingStrategies$CoalescingStrategy of org.apache.cassandra.utils.CoalescingStrategies
FixedCoalescingStrategy = org.apache.cassandra.utils.CoalescingStrategies$FixedCoalescingStrategy of org.apache.cassandra.utils.CoalescingStrategies
abstract Parker = org.apache.cassandra.utils.CoalescingStrategies$Parker of org.apache.cassandra.utils.CoalescingStrategies
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()