public abstract class org.apache.cassandra.streaming.messages.StreamMessage
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.streaming.messages.StreamMessage
super_class: java.lang.Object
{
public static final int VERSION_20;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int VERSION_22;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int VERSION_30;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int CURRENT_VERSION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private volatile transient boolean sent;
descriptor: Z
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
public final org.apache.cassandra.streaming.messages.StreamMessage$Type type;
descriptor: Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public static void serialize(org.apache.cassandra.streaming.messages.StreamMessage, org.apache.cassandra.io.util.DataOutputStreamPlus, int, org.apache.cassandra.streaming.StreamSession);
descriptor: (Lorg/apache/cassandra/streaming/messages/StreamMessage;Lorg/apache/cassandra/io/util/DataOutputStreamPlus;ILorg/apache/cassandra/streaming/StreamSession;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 1: aload 4
aload 0
getfield org.apache.cassandra.streaming.messages.StreamMessage.type:Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
getfield org.apache.cassandra.streaming.messages.StreamMessage$Type.type:B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: aload 4
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
3: aload 1
aload 4
invokevirtual org.apache.cassandra.io.util.DataOutputStreamPlus.write:(Ljava/nio/ByteBuffer;)V
4: aload 0
getfield org.apache.cassandra.streaming.messages.StreamMessage.type:Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
getfield org.apache.cassandra.streaming.messages.StreamMessage$Type.outSerializer:Lorg/apache/cassandra/streaming/messages/StreamMessage$Serializer;
aload 0
aload 1
iload 2
aload 3
invokeinterface org.apache.cassandra.streaming.messages.StreamMessage$Serializer.serialize:(Lorg/apache/cassandra/streaming/messages/StreamMessage;Lorg/apache/cassandra/io/util/DataOutputStreamPlus;ILorg/apache/cassandra/streaming/StreamSession;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 message Lorg/apache/cassandra/streaming/messages/StreamMessage;
0 6 1 out Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
0 6 2 version I
0 6 3 session Lorg/apache/cassandra/streaming/StreamSession;
1 6 4 buff Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
message
out
version
session
public static org.apache.cassandra.streaming.messages.StreamMessage deserialize(java.nio.channels.ReadableByteChannel, int, org.apache.cassandra.streaming.StreamSession);
descriptor: (Ljava/nio/channels/ReadableByteChannel;ILorg/apache/cassandra/streaming/StreamSession;)Lorg/apache/cassandra/streaming/messages/StreamMessage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 1: aload 0
aload 3
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 2: iload 4
ifle 6
3: aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
4: aload 3
invokevirtual java.nio.ByteBuffer.get:()B
invokestatic org.apache.cassandra.streaming.messages.StreamMessage$Type.get:(B)Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
astore 5
start local 5 5: aload 5
getfield org.apache.cassandra.streaming.messages.StreamMessage$Type.inSerializer:Lorg/apache/cassandra/streaming/messages/StreamMessage$Serializer;
aload 0
iload 1
aload 2
invokeinterface org.apache.cassandra.streaming.messages.StreamMessage$Serializer.deserialize:(Ljava/nio/channels/ReadableByteChannel;ILorg/apache/cassandra/streaming/StreamSession;)Lorg/apache/cassandra/streaming/messages/StreamMessage;
areturn
end local 5 6: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
iload 4
ifne 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
new java.net.SocketException
dup
ldc "End-of-stream reached"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 in Ljava/nio/channels/ReadableByteChannel;
0 9 1 version I
0 9 2 session Lorg/apache/cassandra/streaming/StreamSession;
1 9 3 buff Ljava/nio/ByteBuffer;
2 9 4 readBytes I
5 6 5 type Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
session
public void sent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.streaming.messages.StreamMessage.sent:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/streaming/messages/StreamMessage;
public boolean wasSent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.messages.StreamMessage.sent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/messages/StreamMessage;
protected void <init>(org.apache.cassandra.streaming.messages.StreamMessage$Type);
descriptor: (Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.cassandra.streaming.messages.StreamMessage.sent:Z
2: aload 0
aload 1
putfield org.apache.cassandra.streaming.messages.StreamMessage.type:Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/streaming/messages/StreamMessage;
0 4 1 type Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
MethodParameters:
Name Flags
type
public int getPriority();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.messages.StreamMessage.type:Lorg/apache/cassandra/streaming/messages/StreamMessage$Type;
getfield org.apache.cassandra.streaming.messages.StreamMessage$Type.priority:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/messages/StreamMessage;
}
SourceFile: "StreamMessage.java"
NestMembers:
org.apache.cassandra.streaming.messages.StreamMessage$Serializer org.apache.cassandra.streaming.messages.StreamMessage$Type
InnerClasses:
public abstract Serializer = org.apache.cassandra.streaming.messages.StreamMessage$Serializer of org.apache.cassandra.streaming.messages.StreamMessage
public final Type = org.apache.cassandra.streaming.messages.StreamMessage$Type of org.apache.cassandra.streaming.messages.StreamMessage