com.groupbyinc.flux.tasks.TaskId.class Maven / Gradle / Ivy
???? 4 ? com/groupbyinc/flux/tasks/TaskId java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable TaskId.java
EMPTY_TASK_ID "Lcom/groupbyinc/flux/tasks/TaskId; nodeId Ljava/lang/String; id J (Ljava/lang/String;J)V ()V
java/lang/String isEmpty ()Z
"java/lang/IllegalArgumentException J0 length nodeIds are reserved for EMPTY_TASK_ID and are otherwise invalid. (Ljava/lang/String;)V
" this %???????? java/lang/NumberFormatException ) "com/groupbyinc/flux/common/Strings + hasLength (Ljava/lang/String;)Z - .
, / unset 1 equals (Ljava/lang/Object;)Z 3 4
5 : 7 split 9(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; 9 :
, ; [Ljava/lang/String; = java/lang/StringBuilder ?
@ malformed task id B append -(Ljava/lang/String;)Ljava/lang/StringBuilder; D E
@ F toString ()Ljava/lang/String; H I
@ J java/lang/Long L parseLong (Ljava/lang/String;)J N O
M P *(Ljava/lang/String;Ljava/lang/Throwable;)V R
S ex !Ljava/lang/NumberFormatException; s taskId readFromStream V(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/tasks/TaskId; java/io/IOException [ 0com/groupbyinc/flux/common/io/stream/StreamInput ]
readString _ I
^ ` b readLong ()J d e
^ f
h in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput n writeString p
o q writeLong (J)V s t
o u out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getNodeId getId isSet {
| (J)Ljava/lang/StringBuilder; D ~
@ getClass ()Ljava/lang/Class; ? ?
? o Ljava/lang/Object; hashCode ()I ? ?
? result I
Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 1
? ? *? +? ?
? Y? ?*+? !* ? #? ? $
? ' ( ) + , - ? ? ? H *? *&? !* '? #? ? $ ? 2 3
4 5 ? ( ?*? +? 0? l2+? 6? c+8?