com.groupbyinc.flux.common.netty.channel.DefaultChannelId.class Maven / Gradle / Ivy
???? 2j 9com/groupbyinc/flux/common/netty/channel/DefaultChannelId java/lang/Object 2com/groupbyinc/flux/common/netty/channel/ChannelId DefaultChannelId.java serialVersionUID J5???P?O logger GLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;
MACHINE_ID [B PROCESS_ID_LEN I
PROCESS_ID SEQUENCE_LEN
TIMESTAMP_LEN
RANDOM_LEN nextSequence +Ljava/util/concurrent/atomic/AtomicInteger; data hashCode
shortValue Ljava/lang/String; longValue $assertionsDisabled Z newInstance =()Lcom/groupbyinc/flux/common/netty/channel/DefaultChannelId; ()V # $
% defaultProcessId ()I java/lang/Throwable ) java/lang/NumberFormatException + @com/groupbyinc/flux/common/netty/util/internal/PlatformDependent - getClassLoader *(Ljava/lang/Class;)Ljava/lang/ClassLoader; / 0
. 1 &java.lang.management.ManagementFactory 3 java/lang/Class 5 forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; 7 8
6 9 "java.lang.management.RuntimeMXBean ; getRuntimeMXBean = :com/groupbyinc/flux/common/netty/util/internal/EmptyArrays ?
EMPTY_CLASSES [Ljava/lang/Class; A B @ C getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; E F
6 G
EMPTY_OBJECTS [Ljava/lang/Object; I J @ K java/lang/reflect/Method M invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; O P
N Q getName S java/lang/String U java/lang/ClassLoader W
Y ICould not invoke ManagementFactory.getRuntimeMXBean().getName(); Android? [ Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger ] debug *(Ljava/lang/String;Ljava/lang/Throwable;)V _ ` ^ a android.os.Process c myPid e toString ()Ljava/lang/String; g h
i .Could not invoke Process.myPid(); not Android? k m indexOf (I)I o p
V q substring (II)Ljava/lang/String; s t
V u java/lang/Integer w parseInt (Ljava/lang/String;)I y z
x { threadLocalRandom ()Ljava/util/Random; } ~
. java/util/Random ? nextInt ? (
? ? IFailed to find the current process ID from '{}'; using a random value: {} ? valueOf (I)Ljava/lang/Integer; ? ?
x ? warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ^ ? mgmtFactoryType Ljava/lang/Class<*>; Ljava/lang/Class; runtimeMxBeanType Ljava/lang/reflect/Method; bean Ljava/lang/Object; value processType t2 Ljava/lang/Throwable; t pid e !Ljava/lang/NumberFormatException; loader Ljava/lang/ClassLoader; atIndex
% ? ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? ? writeInt (II)I ? ?
? ? )java/util/concurrent/atomic/AtomicInteger ? getAndIncrement ? (
? ? nanoTime ()J ? ?
? ? java/lang/Long ? reverse (J)J ? ?
? ? currentTimeMillis ? ?
? ? writeLong (IJ)I ? ?
? ? java/lang/AssertionError ?
? % java/util/Arrays ? ([B)I ?
? ? ? this ;Lcom/groupbyinc/flux/common/netty/channel/DefaultChannelId; i random asShortText ? 3com/groupbyinc/flux/common/netty/buffer/ByteBufUtil ? hexDump ([BII)Ljava/lang/String; ? ?
? ?
asLongText ? newLongValue ? h
? java/lang/StringBuilder ? (I)V # ?
? ? appendHexDumpField (Ljava/lang/StringBuilder;II)I ? ?
? length ? (
? ?
? u buf Ljava/lang/StringBuilder; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ? compareTo 7(Lcom/groupbyinc/flux/common/netty/channel/ChannelId;)I java/lang/Math min ?
? h
z
V x B y k otherData len1 len2 len o 4Lcom/groupbyinc/flux/common/netty/channel/ChannelId; equals (Ljava/lang/Object;)Z ([B[B)Z
? obj ? h
(Ljava/lang/Object;)I
java/lang/Exception# desiredAssertionStatus ()Z%&
6' Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory) getInstance Z(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;+,
*-
? % *com.groupbyinc.flux.common.netty.processId0 Acom/groupbyinc/flux/common/netty/util/internal/SystemPropertyUtil2 get &(Ljava/lang/String;)Ljava/lang/String;45
36 $-Dio.netty.processId: {} (malformed)8 '(Ljava/lang/String;Ljava/lang/Object;)V ?: ^; isDebugEnabled=& ^> #-Dio.netty.processId: {} (user-set)@ _: ^B ' (
D (-Dio.netty.processId: {} (auto-detected)F *com.groupbyinc.flux.common.netty.machineIdH =com/groupbyinc/flux/common/netty/util/internal/MacAddressUtilJ parseMAC (Ljava/lang/String;)[BLM
KN $-Dio.netty.machineId: {} (malformed)P #-Dio.netty.machineId: {} (user-set)R defaultMachineId ()[BTU
KV (-Dio.netty.machineId: {} (auto-detected)X
formatAddress ([B)Ljava/lang/String;Z[
K\ Ljava/lang/Exception; processId customProcessId machineId customMachineId
ConstantValue Code LineNumberTable LocalVariableTable LocalVariableTypeTable
StackMapTable
SourceFile 1 c
c c c c ? ? ! " d ? Y? &? e 7
' ( d z ?K? 2K4*? :M<*? :N,>? D? H:? L? R:-T? D? H:? L? R? VL? AM? Z\,? b d*? :N-f? D? H:? L? R? jL? N? Zl-? b nL+@? r=?
+? vL+? |>? :>? ? ?? ?>? Z?+? ?? ? ? G J * V v y * ? ? ? , f ? 7 ? ? / ? ? # $ = ? . ? ? 9 S ? G ? ^ ? ? i
e ? v ? z ? ? K = ? ? ? ? ? ? ? ? ? ? ? : ? ? 3 ? ? ? g 7 ? ? / ? ? ^ ? ? e v m p r s u # v . w 9 x G ? J y K z V } ^ ~ i v ? y ? z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?h : ? J X *? . X * *? X V ? G ,? # $ d ?*? ?*? ??````?? ?