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

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

There is a newer version: 1.6.5
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&'	S5java/util/concurrent/atomic/AtomicIntegerFieldUpdaterUget(Ljava/lang/Object;)IWX
VY(Ljava/lang/Thread;)ZaddShutdownHook
java/util/Set]^
K(Lio/netty/util/concurrent/SingleThreadEventExecutor;Ljava/lang/Runnable;)VK`
aexecutec
dremoveShutdownHook^.
arunShutdownHooksjava/lang/Throwablej^java/util/ArrayListm(Ljava/util/Collection;)VKo
npclearrt^sjava/util/Listuiterator()Ljava/util/Iterator;wxvyjava/util/Iterator{hasNext}?|~next??|?Ot??	?"Shutdown hook raised an exception.?-io/netty/util/internal/logging/InternalLogger?warn*(Ljava/lang/String;Ljava/lang/Throwable;)V????tLjava/lang/Throwable;i$Ljava/util/Iterator;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?
?
compareAndSet(Ljava/lang/Object;II)Z??
V?toNanos?H
??CA	?DA	?
doStartThread?t
?QR
?newStatequietPeriodtimeoutoldStateshutdownisTerminatedconfirmShutdownjava/lang/IllegalStateException?"must be invoked from an event loop?
?cancelScheduledTasks?t
?EA	?0?
?i?
?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K0
	1)*	37java/util/concurrent/atomic/AtomicReferenceFieldUpdater59(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z?7
68event executor terminated:rejectedK(Ljava/lang/Runnable;Lio/netty/util/concurrent/SingleThreadEventExecutor;)V<=?>7(Lio/netty/util/concurrent/SingleThreadEventExecutor;)VK@
A?d
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$4009()Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
access$5007(Lio/netty/util/concurrent/SingleThreadEventExecutor;)J
access$600V(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/util/concurrent/Semaphore;
access$700G(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Ljava/util/Queue;
access$800X(Lio/netty/util/concurrent/SingleThreadEventExecutor;)Lio/netty/util/concurrent/Promise;java/lang/Class[desiredAssertionStatus]?
\^&io.netty.eventexecutor.maxPendingTasks`???)io/netty/util/internal/SystemPropertyUtilcgetInt(Ljava/lang/String;I)Ief
dg4io/netty/util/internal/logging/InternalLoggerFactoryigetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;kl
jm
u
uB(io/netty/util/internal/PlatformDependentrnewAtomicIntegerFieldUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;tu
sv
newUpdaterxu
Vy1newAtomicReferenceFieldUpdater^(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;|}
s~o(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;x?
6?SECONDS??	??updaterpropertiesUpdater
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!???? !?"#$%$&'?()*?+,-?.B/0B1234B56789:?;<6=>?@ABBBCABDAEAFG?HIAJ6=KL?[*+?NY,?Q?T??*UVWXYZ<6?
??K[?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_??.?hip!w/?4???L?X?f????3	**??????	UV??????????=	??Y????	UV	=?????t?i*??L+?*???+????UV?0???	????	?????U???*?????Y?¿**???ư?UV?
???????+????M,?Ц???,?? 
?$UV,-?,.??
????	????????	????*?????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?MPRTZ]d	t
w
y{??????C?????B???"??????????6??@*?N-?)*??-??*?-??W?*?N????? 6UV2?A
,?$?" !
"#%)&+(4*??
? ??Y"???*?????Y?¿*????ΰ?"UV?
12???a'???*?????Y?¿*???????'UV?
9:?@?4
*?????
UV?D?k+??Y? ?*+?$?*+?&??UV?$?LMOPR?!"?Z*?)??+*??+???UV?$?UV
X?
,"?_+??Y? ?*??+?/??UV?$?_`b?0???>???*?????Y?¿<*??=**???4?<????
*?5?7*?:?? >UV";6'<6?*
kmpq'r)t-v1w8y<z???12??*+??M,??,??*+??M,????? UV,-?$?,.???
??????????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?c??T*?Z?*???йW??UV?6??????[?M+*??????UV/0???@\?m#*???*?x+?_W?*?Y*+?b?e??#UV#?$????"??f?m#*???*?x+?gW?*?Y*+?h?e??#UV#?$?"?i???x<*?x?l?`?nY*?x?qM*?x?t,?zN-??8-????:??EJk>E^JY^^`^?>L
??>'?$*>??N??xUVv?6?N???J#>EGJLY[^ehk!o"v%?2??'v|?v|?kSk??
???%
	??%??Y??Y???????????????!??/??Y??Y?????!?????????????????Y?? ?*???*???*??6*???*???6?T*?Z6?	6	?-?!6	?
6	6?T*	???????*?µ?*!?µ??*???	*??*????f
??	??	??	UV?A?A??|??6??Q6?w??z*+(-..Z1_2j5q6v9|=?>?A?B?C?D?F?I?J?L?M?P?Q?S?T?U?W?X?[\_?(1????
??F??/*????UV?d???t?Nu*?)??*??<*????=?T*?Z>?	6?)? 6?6=?T*????????*???*?˱?H&?G?M?uUV
h?6^Q6V??Zjkn
rsvwx#y){DG?J?M?O?\?_?b?g?k?o?t????????????F?T*?Z????UV???@'??F?T*?Z????UV???@???F?T*?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????c??P+??Y? ?*??=?*+???*??*+??*?)?*+????+*???*+???*?˱? PUVP?$<?6?2????? ?$?)?8?;?JO?	????W
*?*+???
UV
	?
?
?????
?n*?*+ ???*UV	?A????

?????W
*?*+???
UV
	?
?
?????n*?*+ ???*UV	?A????
?????o**???%?Y??Y????+??????????*UV*? !)#?)1 ??g*?"L+?_*??M,?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy