com.groupbyinc.flux.common.netty.handler.timeout.IdleStateHandler.class Maven / Gradle / Ivy
???? 2? Acom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler =com/groupbyinc/flux/common/netty/channel/ChannelDuplexHandler IdleStateHandler.java Ccom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$2 Tcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$AllIdleTimeoutTask AllIdleTimeoutTask Wcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$WriterIdleTimeoutTask WriterIdleTimeoutTask Wcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$ReaderIdleTimeoutTask ReaderIdleTimeoutTask Rcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$AbstractIdleTask AbstractIdleTask Ccom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler$1 7com/groupbyinc/flux/common/netty/channel/Channel$Unsafe 0com/groupbyinc/flux/common/netty/channel/Channel Unsafe MIN_TIMEOUT_NANOS J
writeListener @Lcom/groupbyinc/flux/common/netty/channel/ChannelFutureListener;
observeOutput Z readerIdleTimeNanos writerIdleTimeNanos allIdleTimeNanos readerIdleTimeout &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>; lastReadTime firstReaderIdleEvent writerIdleTimeout
lastWriteTime firstWriterIdleEvent allIdleTimeout firstAllIdleEvent state B reading lastChangeCheckTimeStamp lastMessageHashCode I lastPendingWriteBytes (III)V java/util/concurrent/TimeUnit 7 SECONDS Ljava/util/concurrent/TimeUnit; 9 : 8 ; %(JJJLjava/util/concurrent/TimeUnit;)V 5 =
> this CLcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler; readerIdleTimeSeconds writerIdleTimeSeconds allIdleTimeSeconds &(ZJJJLjava/util/concurrent/TimeUnit;)V 5 E
F readerIdleTime writerIdleTime allIdleTime unit ()V 5 L
M F(Lcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler;)V 5 O
P R ( T + V - X java/lang/NullPointerException Z K (Ljava/lang/String;)V 5 ]
[ ^ ` ! b toNanos (J)J d e
8 f h java/lang/Math j max (JJ)J l m
k n " p # r getReaderIdleTimeInMillis ()J NANOSECONDS v : 8 w toMillis y e
8 z getWriterIdleTimeInMillis getAllIdleTimeInMillis handlerAdded C(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;)V java/lang/Exception ? >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext ? channel 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; ? ? ? ? isActive ()Z ? ? ? isRegistered ? ? ?
initialize ?
? ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; handlerRemoved destroy ? L
? channelRegistered ?
?
channelActive ?
? channelInactive ?
? channelRead U(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V 0 ? fireChannelRead T(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; ? ? ? ? msg Ljava/lang/Object; channelReadComplete ticksInNanos ? u
? ' ? fireChannelReadComplete B()Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; ? ? ? ? write ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)V 7com/groupbyinc/flux/common/netty/channel/ChannelPromise ? unvoid ;()Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; ? ? ? ? ?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? ? ? 6com/groupbyinc/flux/common/netty/channel/ChannelFuture ? addListener ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? ? ? promise 9Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; . / ? initOutputChanged ?
? * ? ?(Lcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateHandler;Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;)V 5 ?
? schedule ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; ? ?
? $ % ?
? ) % ?
? , % ? java/lang/System ? nanoTime ? u
? ? executor B()Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutor; ? ? ? ? >com/groupbyinc/flux/common/netty/util/concurrent/EventExecutor ? x(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFuture; ? ? ? ? task Ljava/lang/Runnable; delay $java/util/concurrent/ScheduledFuture ? cancel (Z)Z ? ? ? ? channelIdle ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateEvent;)V fireUserEventTriggered ? ? ? ? evt ALcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateEvent; newIdleStateEvent ?(Lcom/groupbyinc/flux/common/netty/handler/timeout/IdleState;Z)Lcom/groupbyinc/flux/common/netty/handler/timeout/IdleStateEvent; -$SwitchMap$io$netty$handler$timeout$IdleState [I ? ? :com/groupbyinc/flux/common/netty/handler/timeout/IdleState ordinal ()I
?com/groupbyinc/flux/common/netty/handler/timeout/IdleStateEvent FIRST_ALL_IDLE_STATE_EVENT
? ALL_IDLE_STATE_EVENT
? FIRST_READER_IDLE_STATE_EVENT ? READER_IDLE_STATE_EVENT ? FIRST_WRITER_IDLE_STATE_EVENT ? WRITER_IDLE_STATE_EVENT ? "java/lang/IllegalArgumentException java/lang/StringBuilder
M Unhandled: state=! append -(Ljava/lang/String;)Ljava/lang/StringBuilder;#$
% -(Ljava/lang/Object;)Ljava/lang/StringBuilder;#'
( , first=* (Z)Ljava/lang/StringBuilder;#,
- toString ()Ljava/lang/String;/0
1
^