| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ByteBufAllocator | |
| pack-priv static final int | |
| pack-priv final Duration | |
| pack-priv final Duration | |
| pack-priv final long | |
| pack-priv volatile long | |
| pack-priv volatile Consumer | |
| pack-priv volatile Consumer | |
| pack-priv volatile ResumeStateHolder | |
| pack-priv final Scheduler | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater | |
| pack-priv static final int | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements reactor. |
| public boolean | isDisposed()
Overrides default reactor. |
| pack-priv long | |
| pack-priv abstract void | |
| public KeepAliveSupport | |
| public KeepAliveSupport | |
| public void | |
| public KeepAliveSupport | |
| pack-priv void | |
| public KeepAliveSupport | |
| public void | |
| pack-priv void | |
| pack-priv void |
| allocator | back to summary |
|---|---|
| pack-priv final ByteBufAllocator allocator | |
| DISPOSED_STATE | back to summary |
|---|---|
| pack-priv static final int DISPOSED_STATE | |
| keepAliveInterval | back to summary |
|---|---|
| pack-priv final Duration keepAliveInterval | |
| keepAliveTimeout | back to summary |
|---|---|
| pack-priv final Duration keepAliveTimeout | |
| keepAliveTimeoutMillis | back to summary |
|---|---|
| pack-priv final long keepAliveTimeoutMillis | |
| lastReceivedMillis | back to summary |
|---|---|
| pack-priv volatile long lastReceivedMillis | |
| onFrameSent | back to summary |
|---|---|
| pack-priv volatile Consumer<ByteBuf> onFrameSent | |
| onTimeout | back to summary |
|---|---|
| pack-priv volatile Consumer<KeepAliveSupport. | |
| resumeStateHolder | back to summary |
|---|---|
| pack-priv volatile ResumeStateHolder resumeStateHolder | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| STARTED_STATE | back to summary |
|---|---|
| pack-priv static final int STARTED_STATE | |
| STARTING_STATE | back to summary |
|---|---|
| pack-priv static final int STARTING_STATE | |
| state | back to summary |
|---|---|
| pack-priv volatile int state | |
| STATE | back to summary |
|---|---|
| pack-priv static final AtomicIntegerFieldUpdater<KeepAliveSupport> STATE | |
| STOPPED_STATE | back to summary |
|---|---|
| pack-priv static final int STOPPED_STATE | |
| ticksDisposable | back to summary |
|---|---|
| pack-priv Disposable ticksDisposable | |
| KeepAliveSupport | back to summary |
|---|---|
| private KeepAliveSupport(ByteBufAllocator allocator, int keepAliveInterval, int keepAliveTimeout) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| localLastReceivedPosition | back to summary |
|---|---|
| pack-priv long localLastReceivedPosition() | |
| onIntervalTick | back to summary |
|---|---|
| pack-priv abstract void onIntervalTick() | |
| onSendKeepAliveFrame | back to summary |
|---|---|
| public KeepAliveSupport onSendKeepAliveFrame(Consumer<ByteBuf> onFrameSent) | |
| onTimeout | back to summary |
|---|---|
| public KeepAliveSupport onTimeout(Consumer<KeepAliveSupport. | |
| receive | back to summary |
|---|---|
| public void receive(ByteBuf keepAliveFrame) Implements io.
| |
| resumeState | back to summary |
|---|---|
| public KeepAliveSupport resumeState(ResumeStateHolder resumeStateHolder) | |
| send | back to summary |
|---|---|
| pack-priv void send(ByteBuf frame) | |
| start | back to summary |
|---|---|
| public KeepAliveSupport start() | |
| stop | back to summary |
|---|---|
| public void stop() | |
| terminate | back to summary |
|---|---|
| pack-priv void terminate(int terminationState) | |
| tryTimeout | back to summary |
|---|---|
| pack-priv void tryTimeout() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void |
| ClientKeepAliveSupport | back to summary |
|---|---|
| public ClientKeepAliveSupport(ByteBufAllocator allocator, int keepAliveInterval, int keepAliveTimeout) | |
| onIntervalTick | back to summary |
|---|---|
| pack-priv void onIntervalTick() Implements abstract io.
| |
| Access | Constructor and Description |
|---|---|
| public |
| tickPeriod | back to summary |
|---|---|
| private final Duration tickPeriod | |
| timeoutMillis | back to summary |
|---|---|
| private final Duration timeoutMillis | |
| KeepAlive | back to summary |
|---|---|
| public KeepAlive(Duration tickPeriod, Duration timeoutMillis) | |
| getTickPeriod | back to summary |
|---|---|
| public Duration getTickPeriod() | |
| getTimeout | back to summary |
|---|---|
| public Duration getTimeout() | |