public class org.apache.cassandra.streaming.StreamReceiveTask extends org.apache.cassandra.streaming.StreamTask
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.streaming.StreamReceiveTask
  super_class: org.apache.cassandra.streaming.StreamTask
{
  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.concurrent.ExecutorService executor;
    descriptor: Ljava/util/concurrent/ExecutorService;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final int totalFiles;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long totalSize;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.apache.cassandra.db.lifecycle.LifecycleTransaction txn;
    descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean done;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  protected java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> sstables;
    descriptor: Ljava/util/Collection;
    flags: (0x0004) ACC_PROTECTED
    Signature: Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;

  private int remoteSSTablesReceived;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 59
            ldc Lorg/apache/cassandra/streaming/StreamReceiveTask;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.cassandra.streaming.StreamReceiveTask.$assertionsDisabled:Z
         3: .line 61
            ldc Lorg/apache/cassandra/streaming/StreamReceiveTask;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.streaming.StreamReceiveTask.logger:Lorg/slf4j/Logger;
         4: .line 63
            new org.apache.cassandra.concurrent.NamedThreadFactory
            dup
            ldc "StreamReceiveTask"
            invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
            invokestatic java.util.concurrent.Executors.newCachedThreadPool:(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
            putstatic org.apache.cassandra.streaming.StreamReceiveTask.executor:Ljava/util/concurrent/ExecutorService;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.apache.cassandra.streaming.StreamSession, java.util.UUID, int, long);
    descriptor: (Lorg/apache/cassandra/streaming/StreamSession;Ljava/util/UUID;IJ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
        start local 1 // org.apache.cassandra.streaming.StreamSession session
        start local 2 // java.util.UUID cfId
        start local 3 // int totalFiles
        start local 4 // long totalSize
         0: .line 83
            aload 0 /* this */
            aload 1 /* session */
            aload 2 /* cfId */
            invokespecial org.apache.cassandra.streaming.StreamTask.<init>:(Lorg/apache/cassandra/streaming/StreamSession;Ljava/util/UUID;)V
         1: .line 74
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
         2: .line 79
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.streaming.StreamReceiveTask.remoteSSTablesReceived:I
         3: .line 84
            aload 0 /* this */
            iload 3 /* totalFiles */
            putfield org.apache.cassandra.streaming.StreamReceiveTask.totalFiles:I
         4: .line 85
            aload 0 /* this */
            lload 4 /* totalSize */
            putfield org.apache.cassandra.streaming.StreamReceiveTask.totalSize:J
         5: .line 88
            aload 0 /* this */
            getstatic org.apache.cassandra.db.compaction.OperationType.STREAM:Lorg/apache/cassandra/db/compaction/OperationType;
            invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.offline:(Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            putfield org.apache.cassandra.streaming.StreamReceiveTask.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
         6: .line 89
            aload 0 /* this */
            new java.util.ArrayList
            dup
            iload 3 /* totalFiles */
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield org.apache.cassandra.streaming.StreamReceiveTask.sstables:Ljava/util/Collection;
         7: .line 90
            return
        end local 4 // long totalSize
        end local 3 // int totalFiles
        end local 2 // java.util.UUID cfId
        end local 1 // org.apache.cassandra.streaming.StreamSession session
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/apache/cassandra/streaming/StreamReceiveTask;
            0    8     1     session  Lorg/apache/cassandra/streaming/StreamSession;
            0    8     2        cfId  Ljava/util/UUID;
            0    8     3  totalFiles  I
            0    8     4   totalSize  J
    MethodParameters:
            Name  Flags
      session     
      cfId        
      totalFiles  
      totalSize   

  public synchronized void received(org.apache.cassandra.io.sstable.SSTableMultiWriter);
    descriptor: (Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
        start local 1 // org.apache.cassandra.io.sstable.SSTableMultiWriter sstable
         0: .line 99
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
            ifeq 6
         1: .line 101
            getstatic org.apache.cassandra.streaming.StreamReceiveTask.logger:Lorg/slf4j/Logger;
            ldc "[{}] Received sstable {} on already finished stream received task. Aborting sstable."
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.session:Lorg/apache/cassandra/streaming/StreamSession;
            invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
         2: .line 102
            aload 1 /* sstable */
            invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilename:()Ljava/lang/String;
         3: .line 101
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 103
            aload 1 /* sstable */
            aconst_null
            invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
         5: .line 104
            return
         6: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.cassandra.streaming.StreamReceiveTask.remoteSSTablesReceived:I
            iconst_1
            iadd
            putfield org.apache.cassandra.streaming.StreamReceiveTask.remoteSSTablesReceived:I
         7: .line 108
            getstatic org.apache.cassandra.streaming.StreamReceiveTask.$assertionsDisabled:Z
            ifne 8
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.cfId:Ljava/util/UUID;
            aload 1 /* sstable */
            invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getCfId:()Ljava/util/UUID;
            invokevirtual java.util.UUID.equals:(Ljava/lang/Object;)Z
            ifne 8
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 110
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 2 /* finished */
        start local 2 // java.util.Collection finished
         9: .line 113
            aload 1 /* sstable */
            iconst_1
            invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.finish:(Z)Ljava/util/Collection;
            astore 2 /* finished */
        10: .line 114
            goto 13
        11: .line 115
      StackMap locals: org.apache.cassandra.streaming.StreamReceiveTask org.apache.cassandra.io.sstable.SSTableMultiWriter java.util.Collection
      StackMap stack: java.lang.Throwable
            astore 3 /* t */
        start local 3 // java.lang.Throwable t
        12: .line 117
            aload 1 /* sstable */
            aload 3 /* t */
            invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable t
        13: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            aload 2 /* finished */
            iconst_0
            invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.update:(Ljava/util/Collection;Z)V
        14: .line 120
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.sstables:Ljava/util/Collection;
            aload 2 /* finished */
            invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
            pop
        15: .line 122
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.remoteSSTablesReceived:I
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.totalFiles:I
            if_icmpne 18
        16: .line 124
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
        17: .line 125
            getstatic org.apache.cassandra.streaming.StreamReceiveTask.executor:Ljava/util/concurrent/ExecutorService;
            new org.apache.cassandra.streaming.StreamReceiveTask$OnCompletionRunnable
            dup
            aload 0 /* this */
            invokespecial org.apache.cassandra.streaming.StreamReceiveTask$OnCompletionRunnable.<init>:(Lorg/apache/cassandra/streaming/StreamReceiveTask;)V
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            pop
        18: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.Collection finished
        end local 1 // org.apache.cassandra.io.sstable.SSTableMultiWriter sstable
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   19     0      this  Lorg/apache/cassandra/streaming/StreamReceiveTask;
            0   19     1   sstable  Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
            9   19     2  finished  Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
           12   13     3         t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           9    10      11  Class java.lang.Throwable
    MethodParameters:
         Name  Flags
      sstable  

  public int getTotalNumberOfFiles();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 131
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.totalFiles:I
            ireturn
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;

  public long getTotalSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 136
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.totalSize:J
            lreturn
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;

  public synchronized org.apache.cassandra.db.lifecycle.LifecycleNewTracker createLifecycleNewTracker();
    descriptor: ()Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 144
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
            ifeq 2
         1: .line 145
            new java.lang.RuntimeException
            dup
            ldc "Stream receive task %s of cf %s already finished."
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.session:Lorg/apache/cassandra/streaming/StreamSession;
            invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.cfId:Ljava/util/UUID;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 147
      StackMap locals:
      StackMap stack:
            new org.apache.cassandra.streaming.StreamReceiveTask$1
            dup
            aload 0 /* this */
            invokespecial org.apache.cassandra.streaming.StreamReceiveTask$1.<init>:(Lorg/apache/cassandra/streaming/StreamReceiveTask;)V
            areturn
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;

  public synchronized void abort();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 305
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
            ifeq 2
         1: .line 306
            return
         2: .line 308
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.streaming.StreamReceiveTask.done:Z
         3: .line 309
            aload 0 /* this */
            invokevirtual org.apache.cassandra.streaming.StreamReceiveTask.abortTransaction:()V
         4: .line 310
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.sstables:Ljava/util/Collection;
            invokeinterface java.util.Collection.clear:()V
         5: .line 311
            return
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;

  private synchronized void abortTransaction();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 315
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.abort:()V
         1: .line 316
            return
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;

  private synchronized void finishTransaction();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
         0: .line 320
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamReceiveTask.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
            invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.finish:()Ljava/lang/Object;
            pop
         1: .line 321
            return
        end local 0 // org.apache.cassandra.streaming.StreamReceiveTask this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/streaming/StreamReceiveTask;
}
SourceFile: "StreamReceiveTask.java"
NestMembers:
  org.apache.cassandra.streaming.StreamReceiveTask$1  org.apache.cassandra.streaming.StreamReceiveTask$OnCompletionRunnable
InnerClasses:
  org.apache.cassandra.streaming.StreamReceiveTask$1
  private OnCompletionRunnable = org.apache.cassandra.streaming.StreamReceiveTask$OnCompletionRunnable of org.apache.cassandra.streaming.StreamReceiveTask