
com.groupbyinc.flux.common.TimeBasedUUIDGenerator.class Maven / Gradle / Ivy
???? 3 ? 1com/groupbyinc/flux/common/TimeBasedUUIDGenerator java/lang/Object (com/groupbyinc/flux/common/UUIDGenerator TimeBasedUUIDGenerator.java sequenceNumber +Ljava/util/concurrent/atomic/AtomicInteger;
lastTimestamp J secureMungedAddress [B $assertionsDisabled Z ()V
)java/util/concurrent/atomic/AtomicInteger -com/groupbyinc/flux/common/SecureRandomHolder INSTANCE Ljava/security/SecureRandom; java/security/SecureRandom nextInt ()I
(I)V "
# % this 3Lcom/groupbyinc/flux/common/TimeBasedUUIDGenerator; putLong ([BJII)V i I array l pos numberOfLongBytes
getBase64UUID ()Ljava/lang/String; java/io/IOException 3 incrementAndGet 5
6 ??? java/lang/System 9 currentTimeMillis ()J ; <
: =
? java/lang/Math A max (JJ)J C D
B E java/lang/Throwable G ) *
I
K arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V M N
: O Q java/lang/AssertionError S
T
!com/groupbyinc/flux/common/Base64 W encodeBytesToBytes ([BIII)[B Y Z
X [ java/lang/IllegalStateException ] should not be thrown _ *(Ljava/lang/String;Ljava/lang/Throwable;)V a
^ b java/lang/String d PREFERRED_ENCODING Ljava/nio/charset/Charset; f g X h !([BIILjava/nio/charset/Charset;)V j
e k encoded e Ljava/io/IOException;
sequenceId timestamp uuidBytes java/lang/Class t desiredAssertionStatus ()Z v w
u x -com/groupbyinc/flux/common/MacAddressProvider z getSecureMungedAddress ()[B | }
{ ~ Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile
? D *? *? Y? ? !? $? &? ? ' ( ?
!
) * ? ? %6? *`ddh}??T???? ? 4 ! + , % -
% . % / , % 0 , ? .
/ . $ 1 ? ? ? 1 2 ? ? ?*? &? 78~