public class org.apache.cassandra.streaming.ProgressInfo implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.streaming.ProgressInfo
super_class: java.lang.Object
{
public final java.net.InetAddress peer;
descriptor: Ljava/net/InetAddress;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int sessionIndex;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.streaming.ProgressInfo$Direction direction;
descriptor: Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final long currentBytes;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final long totalBytes;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/streaming/ProgressInfo;
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.ProgressInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.net.InetAddress, int, java.lang.String, org.apache.cassandra.streaming.ProgressInfo$Direction, long, long);
descriptor: (Ljava/net/InetAddress;ILjava/lang/String;Lorg/apache/cassandra/streaming/ProgressInfo$Direction;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.cassandra.streaming.ProgressInfo.$assertionsDisabled:Z
ifne 2
lload 7
lconst_0
lcmp
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.cassandra.streaming.ProgressInfo java.net.InetAddress int java.lang.String org.apache.cassandra.streaming.ProgressInfo$Direction long long
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.streaming.ProgressInfo.peer:Ljava/net/InetAddress;
3: aload 0
iload 2
putfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
4: aload 0
aload 3
putfield org.apache.cassandra.streaming.ProgressInfo.fileName:Ljava/lang/String;
5: aload 0
aload 4
putfield org.apache.cassandra.streaming.ProgressInfo.direction:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
6: aload 0
lload 5
putfield org.apache.cassandra.streaming.ProgressInfo.currentBytes:J
7: aload 0
lload 7
putfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
8: return
end local 7 end local 5 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/streaming/ProgressInfo;
0 9 1 peer Ljava/net/InetAddress;
0 9 2 sessionIndex I
0 9 3 fileName Ljava/lang/String;
0 9 4 direction Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
0 9 5 currentBytes J
0 9 7 totalBytes J
MethodParameters:
Name Flags
peer
sessionIndex
fileName
direction
currentBytes
totalBytes
public boolean isCompleted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.currentBytes:J
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
lcmp
iflt 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/streaming/ProgressInfo;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.streaming.ProgressInfo
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
aload 2
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
lcmp
ifeq 5
iconst_0
ireturn
5: StackMap locals: org.apache.cassandra.streaming.ProgressInfo
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.direction:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
aload 2
getfield org.apache.cassandra.streaming.ProgressInfo.direction:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
if_acmpeq 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.fileName:Ljava/lang/String;
aload 2
getfield org.apache.cassandra.streaming.ProgressInfo.fileName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
aload 2
getfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
if_icmpeq 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.peer:Ljava/net/InetAddress;
aload 2
getfield org.apache.cassandra.streaming.ProgressInfo.peer:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/streaming/ProgressInfo;
0 9 1 o Ljava/lang/Object;
4 9 2 that Lorg/apache/cassandra/streaming/ProgressInfo;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.peer:Ljava/net/InetAddress;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.fileName:Ljava/lang/String;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.direction:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
aastore
dup
iconst_4
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/ProgressInfo;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.fileName:Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.currentBytes:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.currentBytes:J
ldc 100
lmul
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.totalBytes:J
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "%) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.direction:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
getstatic org.apache.cassandra.streaming.ProgressInfo$Direction.OUT:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
if_acmpne 5
ldc "sent to "
goto 6
StackMap locals: org.apache.cassandra.streaming.ProgressInfo java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
5: ldc "received from "
StackMap locals: org.apache.cassandra.streaming.ProgressInfo java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "idx:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.sessionIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
getfield org.apache.cassandra.streaming.ProgressInfo.peer:Ljava/net/InetAddress;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/streaming/ProgressInfo;
1 10 1 sb Ljava/lang/StringBuilder;
}
SourceFile: "ProgressInfo.java"
NestMembers:
org.apache.cassandra.streaming.ProgressInfo$Direction
InnerClasses:
public final Direction = org.apache.cassandra.streaming.ProgressInfo$Direction of org.apache.cassandra.streaming.ProgressInfo