All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.netty.util.HashedWheelTimer.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?6com/groupbyinc/flux/common/netty/util/HashedWheelTimerjava/lang/Object+com/groupbyinc/flux/common/netty/util/TimerHashedWheelTimer.java8com/groupbyinc/flux/common/netty/util/HashedWheelTimer$1Hcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelBucket
HashedWheelBucketIcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelTimeout
HashedWheelTimeout=com/groupbyinc/flux/common/netty/util/HashedWheelTimer$WorkerWorkerloggerGLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;INSTANCE_COUNTER+Ljava/util/concurrent/atomic/AtomicInteger;WARNED_TOO_MANY_INSTANCES+Ljava/util/concurrent/atomic/AtomicBoolean;INSTANCE_COUNT_LIMITI@leakDetector;WORKER_STATE_UPDATER7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;qLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater;leak;Lcom/groupbyinc/flux/common/netty/util/ResourceLeakTracker;uLcom/groupbyinc/flux/common/netty/util/ResourceLeakTracker;worker?Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$Worker;workerThreadLjava/lang/Thread;WORKER_STATE_INITWORKER_STATE_STARTEDWORKER_STATE_SHUTDOWNworkerStatetickDurationJwheelK[Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelBucket;maskstartTimeInitialized%Ljava/util/concurrent/CountDownLatch;timeoutsLjava/util/Queue;^Ljava/util/Queue;cancelledTimeoutspendingTimeouts(Ljava/util/concurrent/atomic/AtomicLong;maxPendingTimeouts	startTime$assertionsDisabledZ()Vjava/util/concurrent/ExecutorsCdefaultThreadFactory&()Ljava/util/concurrent/ThreadFactory;EF
DG'(Ljava/util/concurrent/ThreadFactory;)VAI
Jthis8Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;#(JLjava/util/concurrent/TimeUnit;)VG(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;)VAO
PunitLjava/util/concurrent/TimeUnit;$(JLjava/util/concurrent/TimeUnit;I)VH(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;I)VAU
V
ticksPerWheeldjava/util/concurrent/TimeUnit[MILLISECONDS]S	\^
threadFactory$Ljava/util/concurrent/ThreadFactory;I(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZ)VAb
c????????J(Ljava/util/concurrent/ThreadFactory;JLjava/util/concurrent/TimeUnit;IZJ)VAg
h
leakDetectionAB
ku(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$1;)VAm
n%&	p#java/util/concurrent/CountDownLatchr(I)VAt
su56	w@com/groupbyinc/flux/common/netty/util/internal/PlatformDependentynewMpscQueue()Ljava/util/Queue;{|
z}78	:8	?&java/util/concurrent/atomic/AtomicLong?(J)VA?
??;<	?java/lang/NullPointerException?`(Ljava/lang/String;)VA?
??"java/util/concurrent/ThreadFactory?R"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?k%tickDuration must be greater than 0: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??
??&ticksPerWheel must be greater than 0: ?(I)Ljava/lang/StringBuilder;??
??createWheelN(I)[Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelBucket;??
?23	?4	?toNanos(J)J??
\?01	????????:tickDuration: %d (expected: 0 < tickDuration in nanos < %d?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??java/lang/String?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??	newThread((Ljava/lang/Runnable;)Ljava/lang/Thread;????'(	?java/lang/Thread?isDaemon()Z??
??	?:com/groupbyinc/flux/common/netty/util/ResourceLeakDetector?trackO(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/util/ResourceLeakTracker;??
??9com/groupbyinc/flux/common/netty/util/ResourceLeakTracker?"#	?=1	?	?)java/util/concurrent/atomic/AtomicInteger?incrementAndGet()I??
??	?)java/util/concurrent/atomic/AtomicBoolean?
compareAndSet(ZZ)Z??
??reportTooManyInstances?B
?finalizejava/lang/Throwable??B
? 	?5java/util/concurrent/atomic/AtomicIntegerFieldUpdater?	getAndSet(Ljava/lang/Object;I)I?
?decrementAndGet?
?@,ticksPerWheel may not be greater than 2^30: normalizeTicksPerWheel(I)I	

3=(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$1;)VA
inormalizedTicksPerWheelstartjava/lang/InterruptedExceptionget(Ljava/lang/Object;)I
?(Ljava/lang/Object;II)Z?
?B
?java/lang/IllegalStateExceptioncannot be started once stopped!
 ?java/lang/Error$Invalid WorkerState&
%?>1	)await+B
s,stop()Ljava/util/Set;
currentThread()Ljava/lang/Thread;01
?2java/lang/Class4
getSimpleName6?
57.stop() cannot be called from 9/com/groupbyinc/flux/common/netty/util/TimerTask;close(Ljava/lang/Object;)Z=>???@	Ajava/lang/AssertionErrorC
Dkjava/util/CollectionsFemptySetH/
GIisAliveK?
?L	interruptNB
?OjoinQ?
?RunprocessedTimeoutsT/
Uclosedignored Ljava/lang/InterruptedException;interrupted
newTimeout?(Lcom/groupbyinc/flux/common/netty/util/TimerTask;JLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/netty/util/Timeout;task]()J?_
?`_
?b/java/util/concurrent/RejectedExecutionExceptiondNumber of pending timeouts (f@) is greater than or equal to maximum allowed pending timeouts (h)j
e?
java/lang/SystemnnanoTimep_
oqm(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;Lcom/groupbyinc/flux/common/netty/util/TimerTask;J)VAs
tjava/util/Queuevaddx>wy1Lcom/groupbyinc/flux/common/netty/util/TimerTask;delaypendingTimeoutsCountdeadlinetimeoutKLcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelTimeout;_
??9com/groupbyinc/flux/common/netty/util/internal/StringUtil?simpleClassName%(Ljava/lang/Class;)Ljava/lang/String;??
??	?You are creating too many ? instances. ?b is a shared resource that must be reused across the JVM,so that only a few instances are created.?Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger?error????resourceTypeLjava/lang/String;
access$202<(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;J)Jx0x1
access$200;(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)J
access$300_(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)Ljava/util/concurrent/CountDownLatch;
access$400;(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)I
access$500?(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)[Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer$HashedWheelBucket;
access$6009()Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
access$700K(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)Ljava/util/Queue;
access$900access$1000access$1100b(Lcom/groupbyinc/flux/common/netty/util/HashedWheelTimer;)Ljava/util/concurrent/atomic/AtomicLong;desiredAssertionStatus??
5?Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory?getInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
??
?k
?kAcom/groupbyinc/flux/common/netty/util/ResourceLeakDetectorFactory?instanceE()Lcom/groupbyinc/flux/common/netty/util/ResourceLeakDetectorFactory;??
??newResourceLeakDetectorP(Ljava/lang/Class;I)Lcom/groupbyinc/flux/common/netty/util/ResourceLeakDetector;??
??/
newUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;??
??
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsB()Ljava/util/Set;
SourceFileInnerClasses!?? ?!"#?$%&'()?*+?,-?.B/012345678?9:8?9;<=1B>1?@AB?6*?H?K??LM?
xyAN?L
*?H-?Q?? 
LM
01
RS?
?	?AT?X*?H-?W??*LM01RSX?
??AI?D*+Y?_?Q??LM`a?
??AO?X*+ ?W??*LM`a01RS?
??AU?b*+ ?d??4LM`a01RSX?
??Ab?p	*+ e?i??>LM`a01RSXj@?
??Ag?Q
	:*?l*?Y*?o?q*?sY?v?x*?~??*?~??*??Y	????+?
??Y?????
??Y???? 	????Y??Y????? ??????????Y??Y????????????*????**???d??* ????*???*????m??+??Y??Y ??SY?*????m??S?ȷ??*+*?q????*?
*?ζԚ
??*?ܧ??*????@?????????H:LM:`a:01:RS:X:j@:=1?r?^jk$l+m7?;?E?J?T?Z?u?z?????	?
??
?? 069??	?E?\  ?W]I??\?!?B??1*????*??#??W?L??*??
??W+???1LM?!"!'"0%?Z??????
????g???Y??Y???????????????Y??Y????????????;?L=+??+?Y?S????+?? NgXL23?*
(),&-B1G2L3T4_3e6?"?
?
	
?]<?
x??B??g??*??=/2??*??&*?ζ??? Y"?#??%Y'?(?*?*	??*?x?-???L???X_b?gLM?2I K,L6P9RDTOXXZ_]b[c]f_? 

R./?!?3*?Φ,? Y??Y???8??:????*??.??W*??? *??*?@dW@?XY|.Z@?W@?W@LM?? c
de&g3j?lKmRnYodpvtzx|y?z?|??}?~??????????????????????????#3?B?]?	*B??-????[\?G
?+???Y^????
??Y????*???a7*??	??E*?┞;*???cX?eY??Y??g????i??*???k?????l?*?m?r ??a*?*e7?Y*+?u:	*??	?zW	??H?LM?]{?|1?RS'|}1?~1??	?6
?????'?:?B?r?v?????????S;_?2*??????LM??
?B?e3??K????Y?????*?????*???????????-?????2????;*]?*???M?1?O???/*?*???M?O???/*?x???M?O???/*?????M?O???/*?????M?O???????O???/*?????M?O???/*?????M?O???/*?????M?O???/*?????M?O?B??D?????B??????Y?????Y?????????¸Ƴ???*
OQRT"U,W2X8Z=[CZ?@??"	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy