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

io.netty.util.concurrent.SingleThreadEventExecutor.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2?2io/netty/util/concurrent/SingleThreadEventExecutor7io/netty/util/concurrent/AbstractScheduledEventExecutor-io/netty/util/concurrent/OrderedEventExecutorSingleThreadEventExecutor.javaJio/netty/util/concurrent/SingleThreadEventExecutor$DefaultThreadPropertiesDefaultThreadProperties4io/netty/util/concurrent/SingleThreadEventExecutor$54io/netty/util/concurrent/SingleThreadEventExecutor$4
4io/netty/util/concurrent/SingleThreadEventExecutor$34io/netty/util/concurrent/SingleThreadEventExecutor$24io/netty/util/concurrent/SingleThreadEventExecutor$1"DEFAULT_MAX_PENDING_EXECUTOR_TASKSIlogger/Lio/netty/util/internal/logging/InternalLogger;ST_NOT_STARTED
ST_STARTEDST_SHUTTING_DOWNST_SHUTDOWN
ST_TERMINATEDWAKEUP_TASKLjava/lang/Runnable;	NOOP_TASK
STATE_UPDATER7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;mLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater;PROPERTIES_UPDATER9Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;?Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;	taskQueueLjava/util/Queue;'Ljava/util/Queue;threadLjava/lang/Thread;threadProperties+Lio/netty/util/concurrent/ThreadProperties;executorLjava/util/concurrent/Executor;interruptedZ
threadLock Ljava/util/concurrent/Semaphore;
shutdownHooksLjava/util/Set;%Ljava/util/Set;addTaskWakesUpmaxPendingTasksrejectedExecutionHandler3Lio/netty/util/concurrent/RejectedExecutionHandler;lastExecutionTimeJstategracefulShutdownQuietPeriodgracefulShutdownTimeoutgracefulShutdownStartTimeterminationFuture"Lio/netty/util/concurrent/Promise;%Lio/netty/util/concurrent/Promise<*>;SCHEDULE_PURGE_INTERVAL$assertionsDisabledU(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/ThreadFactory;Z)V.io/netty/util/concurrent/ThreadPerTaskExecutorM'(Ljava/util/concurrent/ThreadFactory;)VKO
NPP(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;Z)VKR
Sthis4Lio/netty/util/concurrent/SingleThreadEventExecutor;parent-Lio/netty/util/concurrent/EventExecutorGroup;
threadFactory$Ljava/util/concurrent/ThreadFactory;?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/ThreadFactory;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZILio/netty/util/concurrent/RejectedExecutionHandler;)VK\
]rejectedHandler	`2io/netty/util/concurrent/RejectedExecutionHandlersbreject5()Lio/netty/util/concurrent/RejectedExecutionHandler;de
cf0(Lio/netty/util/concurrent/EventExecutorGroup;)VKh
ijava/util/concurrent/Semaphorek(I)VKm
ln78	pjava/util/LinkedHashSetr()VKt
su9:	wB	y'io/netty/util/concurrent/DefaultPromise{,io/netty/util/concurrent/GlobalEventExecutor}INSTANCE.Lio/netty/util/concurrent/GlobalEventExecutor;?	~?+(Lio/netty/util/concurrent/EventExecutor;)VK?
|?FG	?<6	?java/lang/Math?max(II)I??
??=	?3!io/netty/util/internal/ObjectUtil?checkNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??java/util/concurrent/Executor?34	?newTaskQueue(I)Ljava/util/Queue;??
?,-	?_1io/netty/util/concurrent/RejectedExecutionHandler?>?	?()Ljava/util/Queue;Ljava/lang/Deprecated;(java/util/concurrent/LinkedBlockingQueue?
?ninterruptThread/0	?56	?java/lang/Thread?	interrupt?t
??
currentThreadpollTask()Ljava/lang/Runnable;J6	?inEventLoop()Z??
?java/lang/AssertionError?
?upollTaskFrom'(Ljava/util/Queue;)Ljava/lang/Runnable;??
?java/util/Queue?poll()Ljava/lang/Object;????java/lang/Runnable?#$	?tasktakeTaskjava/lang/InterruptedException?"java/util/concurrent/BlockingQueue?'java/lang/UnsupportedOperationException?
?upeekScheduledTask0()Lio/netty/util/concurrent/ScheduledFutureTask;??
?take????,io/netty/util/concurrent/ScheduledFutureTask?
delayNanos()J??
??java/util/concurrent/TimeUnit?NANOSECONDSLjava/util/concurrent/TimeUnit;??	??4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;????fetchFromScheduledTaskQueue??
???e Ljava/lang/InterruptedException;
scheduledTask1Lio/netty/util/concurrent/ScheduledFutureTask<*>;.Lio/netty/util/concurrent/ScheduledFutureTask;:Ljava/util/concurrent/BlockingQueue;$Ljava/util/concurrent/BlockingQueue;nanoTime??
?pollScheduledTask(J)Ljava/lang/Runnable;??
offer(Ljava/lang/Object;)Z?scheduledTaskQueue?
add	?
peekTaskpeek
??hasTasksisEmpty??pendingTasks()Isize?addTask(Ljava/lang/Runnable;)Vjava/lang/NullPointerException?(Ljava/lang/String;)VK
	offerTask(Ljava/lang/Runnable;)Z!"
#d
%
isShutdown'?
(dt
*
removeTaskremove-?.runAllTasksrunAllTasksFrom(Ljava/util/Queue;)Z12
3
??@A	6afterRunningAllTasks8t
9
fetchedAll
ranAtLeastOnesafeExecute=
>(J)Z??
A?timeoutNanosdeadlinerunTasks(J)JIA	I?H
?KcurrentTimeNanosupdateLastExecutionTimeruncleanupwakeup(Z)V(Ljava/lang/Thread;)ZaddShutdownHook
java/util/SetUV
K(Lio/netty/util/concurrent/SingleThreadEventExecutor;Ljava/lang/Runnable;)VKX
Yexecute[
\removeShutdownHookV.
YrunShutdownHooksjava/lang/ThrowablebVjava/util/ArrayListe(Ljava/util/Collection;)VKg
fhclearjtVkjava/util/Listmiterator()Ljava/util/Iterator;opnqjava/util/IteratorshasNextu?tvnextx?tyOt?{	}"Shutdown hook raised an exception.-io/netty/util/internal/logging/InternalLogger?warn*(Ljava/lang/String;Ljava/lang/Throwable;)V????tLjava/lang/Throwable;copy&Ljava/util/List;Ljava/util/List;ranshutdownGracefullyD(JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future;"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?u
quietPeriod: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
?? (expected >= 0)?toString()Ljava/lang/String;??
??
?	timeout: ? (expected >= quietPeriod (?))?unit?isShuttingDown??
?#()Lio/netty/util/concurrent/Future;F?
?&'	?5java/util/concurrent/atomic/AtomicIntegerFieldUpdater?
compareAndSet(Ljava/lang/Object;II)Z??
??toNanos?H
??CA	?DA	?
doStartThread?t
?QR
?newStatequietPeriodtimeoutoldStateshutdownisTerminatedconfirmShutdownjava/lang/IllegalStateException?"must be invoked from an event loop?
?cancelScheduledTasks?t
?EA	?0?
?a?
?dsleep(J)V??
??awaitTermination#(JLjava/util/concurrent/TimeUnit;)Z.cannot await termination of the current thread?
tryAcquire??
l?release?t
l???
?
?startThread?t
?,"
?wakesUpForTask?"
?	invokeAny*(Ljava/util/Collection;)Ljava/lang/Object;'java/util/concurrent/ExecutionException??throwIfInEventLoop?
???
?tasks=Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;Ljava/util/Collection;J(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;%java/util/concurrent/TimeoutException?
	invokeAll((Ljava/util/Collection;)Ljava/util/List;		

H(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;	
/java/util/concurrent/RejectedExecutionExceptionCalling ) from within the EventLoop is not allowed
methodLjava/lang/String;-()Lio/netty/util/concurrent/ThreadProperties;12	)io/netty/util/concurrent/ThreadProperties%$	submit7(Ljava/lang/Runnable;)Lio/netty/util/concurrent/Future;!"
#io/netty/util/concurrent/Future%syncUninterruptibly'?&((Ljava/lang/Thread;)VK*
	+)*	-7java/util/concurrent/atomic/AtomicReferenceFieldUpdater/9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z?1
02event executor terminated4rejectedK(Ljava/lang/Runnable;Lio/netty/util/concurrent/SingleThreadEventExecutor;)V67?87(Lio/netty/util/concurrent/SingleThreadEventExecutor;)VK:
;?\
access$000E(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/util/Set;x0
access$102Z(Lio/netty/util/concurrent/SingleThreadEventExecutor;Ljava/lang/Thread;)Ljava/lang/Thread;x1
access$2007(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Z
access$100H(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/lang/Thread;
access$3001()Lio/netty/util/internal/logging/InternalLogger;
access$4007(Lio/netty/util/concurrent/SingleThreadEventExecutor;)I
access$5009()Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
access$6007(Lio/netty/util/concurrent/SingleThreadEventExecutor;)J
access$700V(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/util/concurrent/Semaphore;
access$800G(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/util/Queue;
access$900X(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Lio/netty/util/concurrent/Promise;java/lang/ClassWdesiredAssertionStatusY?
XZ&io.netty.eventexecutor.maxPendingTasks\???)io/netty/util/internal/SystemPropertyUtil_getInt(Ljava/lang/String;I)Iab
`c4io/netty/util/internal/logging/InternalLoggerFactoryegetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;gh
fi
u
uB
newUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;no
?p1o(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;ns
0tSECONDSv?	?w
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
Deprecated)()Ljava/util/Queue;RuntimeVisibleAnnotations*(I)Ljava/util/Queue;
StackMapTableLocalVariableTypeTable=(Ljava/util/Queue;)Ljava/lang/Runnable;*(Ljava/util/Queue;)ZG(JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future<*>;&()Lio/netty/util/concurrent/Future<*>;
ExceptionsX(Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;)TT;x(Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;JLjava/util/concurrent/TimeUnit;)TT;?(Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;)Ljava/util/List;>;?(Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;>;
SourceFileInnerClasses!yyyy !y"#$%$&'z()*z+,-z.B/0B1234B56789:z;<6=>?@ABBBCABDAEAFGzHIAJ6>KL{[*+?NY,?Q?T?|*UVWXYZ<6}
tuK[{s*+?NY,?Q?^?|>UVWXYZ<6=_?}
??KR{Z*+,?a?g?^?|*UVWX34<6}
?
?K\{?g*+?j*?lY?o?q*?sY?v?x*?z*?|Y??????*??*????*,???????***??????*????????|>gUVgWXg34g<6g=g_?}.?YZa!h/?4???L?X?f???{3	**?????|	UV}?~z????{=	??Y???|	UV	=}?z??t{i*??L+?*???+???|UV?0}??	????	????{T???*?????Y?¿*???ư|UV}
?????{w*????L+?Ц???+?|
?$,-?,.}?
????	??z???{?	????*?????Y?¿*???֚??Y?ٿ*????L*??M,?N+????N-?ЦN?:-?,??7:	??+?????:?:??*??W+????:?????:MP?dtw?|H:?$y??Z>?A];?$4d???UV/l,??4d??/l,?}j???'?/?4?8?:?D?K?M?P?R?T?Z?]?d?t?w?y?{???	?
?
?C?????B???"????????{?6??@*?N-?)*??-??*?-??W?*?N????| 6UV2?A
,?$}"
)+4??
? ?{Y"???*?????Y?¿*????ΰ|"UV}
"#??{a'???*?????Y?¿*??????|'UV}
*+?@{4
*????|
UV}5{k+??Y? ?*+?$?*+?&?|UV?$}=>@AC?!"{Z*?)??+*??+??|UV?$}FG
I?
,"{_+??Y? ?*??+?/?|UV?$}PQS?0?{?>???*?????Y?¿<*??=**???4?<????
*?5?7*?:?| >UV";6'<6}*
\^ab'c)e-g1h8j<k???12{?+??M,??,??+??M,????| UV,-?$?,.}vw	x{|}~???z?0@{*
`*??W*?BN-?	*?:??5a7	7-??
a7C	???57???*?BN-??ո57?*?:*?7?|H8@A`UV`EA
V?$EFABGAQ@A}R??
??????"?(?3?8?@?C?H?L?Q?T?X?^?????	$?8t{+?|UV}??H{}*??N-??J?-?L?| UVMA?????}??	?
???
?Nt{6*?5?7?|UV}
??OtPt{+?|UV}?QR{`?*?z?*???йW?|UV?6}?????S{M+*?????|UV/0}??@T{m#*???*?x+?WW?*?Y*+?Z?]?|#UV#?$}???"??^{m#*???*?x+?_W?*?Y*+?`?]?|#UV#?$}???"??a?{xx<*?x?d?`?fY*?x?iM*?x?l,?rN-?w?8-?z??:?|EJc>E^JY^^`^|4L
??>'?$N??xUVv?6?N??}J#>	E
GJ
LY
[^
ehkov?2??'nt?nt?cSc??
??{!
	??%??Y??Y???????????????!??/??Y??Y?????!?????????????????Y?? ?*???*???*??6*???*???6*?z6?	6	?,? 6	?
6	6??*	???????*????*!?????*???	*??*???|f
??	??	??	UV?A?A??|??6?|Q6?v?}z(.Z"_#j&q'v*|.?/?2?3?4?5?7?:?;?=?>?A?B?D?E?F?H?I?L?MP?(1????
z?F?{/*???|UV}Uz??t{Jq*?)??*??<*????=*?z>?	6?(?6?6=??*????????*???*?ű|H#?C?I?qUV
d?6ZQ6U?}Z[\_
cdghi j&l@pCqFsItKwXx[z^|c}g?k?p??????~????{C*?z???|UV}??@'?{C*?z???|UV}??@??{C*?z???|UV}??@??{F?*????*?????Yзѿ*??*??	??
*?5??*?ؚ
*?ڙ*?)??*??	???*????5@*?)?*??e*?????*?7e*????*??۸?N??????|?UV\8?A}b??	????(?/?=?D?F?O?Q?V?X?\?q?s??????????????	

?[???{?9-??Y?? ?*?????Y?ѿ*?q-??
*?q??*??| 9UV9?A9??}????!?-?4????[{?P+??Y? ?*??=?*+??*??*+??*?)?*+???+*???*+???*?ű| PUVP?$<?6}2????? ?$?)?8?;?J?O??	???{W
*???*+??|
UV
?
}
?????z??{n*???*+ ??|*UV?A???}
?????z?	
{W
*??*+?
?|
UV
?
}
??z?	{n*??*+ ??|*UV?A???}

??z??{o**???%?Y??Y????+?????????|*UV*})?)1{?g*?L+?_*??M,???t{X*?z???*???*?ñ|UV}FGHK??t{b'???*?????Y?¿*???Y*??{/*?x?|@V}0AB{;*+Z???|@VC0}0DE{/*???|@V}0FG{/*???|@V}0HI{?~?}0JK{/*?z?|@V}0LM{???}0NO{/*?֭|@V}0PQ{/*?q?|@V}0RS{/*???|@V}0TU{/*???|@V}0Vt{?a?[????]^?d???a?j?~?Y?k?лY?l? m?q??r?u?.?x
???J?}6
0232!5#6)>3D=KBLHMPNVC?@??2	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy