Dependencies
Declarations
-
org
-
eclipse
-
jetty
-
io
-
AbstractByteBufferPool
- _factor: int
- _maxQueueLength: int
- _maxHeapMemory: long
- _heapMemory: AtomicLong
- _maxDirectMemory: long
- _directMemory: AtomicLong
- AbstractByteBufferPool(int, int, long, long): void
- getCapacityFactor(): int
- getMaxQueueLength(): int
- decrementMemory(ByteBuffer): void
- incrementMemory(ByteBuffer): void
- updateMemory(ByteBuffer, boolean): void
- releaseExcessMemory(boolean, Consumer<Boolean>): void
- getDirectMemory(): long
- getHeapMemory(): long
- getMemory(boolean): long
- clear(): void
-
AbstractConnection
- LOG: Logger
- _listeners: List<Listener>
- _created: long
- _endPoint: EndPoint
- _executor: Executor
- _readCallback: Callback
- _inputBufferSize: int
- AbstractConnection(EndPoint, Executor): void
- addListener(Listener): void
- removeListener(Listener): void
- getInputBufferSize(): int
- setInputBufferSize(int): void
- getExecutor(): Executor
- failedCallback(Callback, Throwable): void
- fillInterested(): void
- tryFillInterested(): void
- tryFillInterested(Callback): void
- isFillInterested(): boolean
- onFillable(): void
- onFillInterestedFailed(Throwable): void
- onReadTimeout(Throwable): boolean
- onOpen(): void
- onOpened(Listener): void
- onClose(Throwable): void
- onClosed(Listener): void
- getEndPoint(): EndPoint
- close(): void
- onIdleExpired(): boolean
- getMessagesIn(): long
- getMessagesOut(): long
- getBytesIn(): long
- getBytesOut(): long
- getCreatedTimeStamp(): long
- toString(): String
- toConnectionString(): String
- ReadCallback
-
AbstractEndPoint
- LOG: Logger
- _state: AtomicReference<State>
- _created: long
- _connection: Connection
- _fillInterest: FillInterest
- _writeFlusher: WriteFlusher
- AbstractEndPoint(Scheduler): void
- shutdownInput(): void
- shutdownOutput(): void
- close(): void
- close(Throwable): void
- doShutdownInput(): void
- doShutdownOutput(): void
- doOnClose(Throwable): void
- doClose(): void
- isOutputShutdown(): boolean
- isInputShutdown(): boolean
- isOpen(): boolean
- checkFlush(): void
- checkFill(): void
- getCreatedTimeStamp(): long
- getConnection(): Connection
- setConnection(Connection): void
- isOptimizedForDirectBuffers(): boolean
- reset(): void
- onOpen(): void
- onClose(): void
- onClose(Throwable): void
- fillInterested(Callback): void
- tryFillInterested(Callback): boolean
- isFillInterested(): boolean
- write(Callback, ByteBuffer[]): void
- onIncompleteFlush(): void
- needsFillInterest(): void
- getFillInterest(): FillInterest
- getWriteFlusher(): WriteFlusher
- onIdleExpired(TimeoutException): void
- upgrade(Connection): void
- toString(): String
- toEndPointString(): String
- toConnectionString(): String
- State
-
ArrayByteBufferPool
- _minCapacity: int
- _direct: Bucket[]
- _indirect: Bucket[]
- ArrayByteBufferPool(): void
- ArrayByteBufferPool(int, int, int): void
- ArrayByteBufferPool(int, int, int, int): void
- ArrayByteBufferPool(int, int, int, int, long, long): void
- acquire(int, boolean): ByteBuffer
- release(ByteBuffer): void
- newBucket(int): Bucket
- clear(): void
- clearOldestBucket(boolean): void
- bucketFor(int): int
- bucketFor(int, boolean, IntFunction<Bucket>): Bucket
- getDirectByteBufferCount(): long
- getHeapByteBufferCount(): long
- getByteBufferCount(boolean): long
- bucketsFor(boolean): Bucket[]
-
ByteArrayEndPoint
- LOG: Logger
- NOIP: InetAddress
- NOIPPORT: InetSocketAddress
- static class initializer
- EOF: ByteBuffer
- _runFillable: Runnable
- _locker: Locker
- _hasOutput: Condition
- _inQ: Queue<ByteBuffer>
- _out: ByteBuffer
- _growOutput: boolean
- ByteArrayEndPoint(): void
- ByteArrayEndPoint(byte[], int): void
- ByteArrayEndPoint(String, int): void
- ByteArrayEndPoint(Scheduler, long): void
- ByteArrayEndPoint(Scheduler, long, byte[], int): void
- ByteArrayEndPoint(Scheduler, long, String, int): void
- ByteArrayEndPoint(Scheduler, long, ByteBuffer, ByteBuffer): void
- doShutdownOutput(): void
- doClose(): void
- getLocalAddress(): InetSocketAddress
- getRemoteAddress(): InetSocketAddress
- onIncompleteFlush(): void
- execute(Runnable): void
- needsFillInterest(): void
- addInputEOF(): void
- addInput(ByteBuffer): void
- addInput(String): void
- addInput(String, Charset): void
- addInputAndExecute(ByteBuffer): void
- getOutput(): ByteBuffer
- getOutputString(): String
- getOutputString(Charset): String
- takeOutput(): ByteBuffer
- waitForOutput(long, TimeUnit): ByteBuffer
- takeOutputString(): String
- takeOutputString(Charset): String
- setOutput(ByteBuffer): void
- hasMore(): boolean
- fill(ByteBuffer): int
- flush(ByteBuffer[]): boolean
- reset(): void
- getTransport(): Object
- isGrowOutput(): boolean
- setGrowOutput(boolean): void
- toString(): String
- isEOF(ByteBuffer): boolean
-
ByteBufferPool
- acquire(int, boolean): ByteBuffer
- release(ByteBuffer): void
- newByteBuffer(int, boolean): ByteBuffer
-
Lease
- byteBufferPool: ByteBufferPool
- buffers: List<ByteBuffer>
- recycles: List<Boolean>
- Lease(ByteBufferPool): void
- acquire(int, boolean): ByteBuffer
- append(ByteBuffer, boolean): void
- insert(int, ByteBuffer, boolean): void
- getByteBuffers(): List<ByteBuffer>
- getTotalLength(): long
- getSize(): int
- recycle(): void
-
Bucket
- _maxSize: int
- _size: AtomicInteger
- _queue: Deque<ByteBuffer>
- _capacity: int
- _lastUpdate: long
- Bucket(int, int): void
- acquire(): ByteBuffer
- release(ByteBuffer): void
- clear(): void
- clear(Consumer<ByteBuffer>): void
- queueOffer(ByteBuffer): void
- queuePoll(): ByteBuffer
- isEmpty(): boolean
- size(): int
- getLastUpdate(): long
- toString(): String
-
ChannelEndPoint
- LOG: Logger
- _channel: ByteChannel
- _gather: GatheringByteChannel
- _selector: ManagedSelector
- _key: SelectionKey
- _updatePending: boolean
- _currentInterestOps: int
- _desiredInterestOps: int
- RunnableTask
- RunnableCloseable
- _updateKeyAction: SelectorUpdate
- _runFillable: Runnable
- _runCompleteWrite: Runnable
- _runCompleteWriteFillable: Runnable
- ChannelEndPoint(ByteChannel, ManagedSelector, SelectionKey, Scheduler): void
- isOptimizedForDirectBuffers(): boolean
- isOpen(): boolean
- doClose(): void
- onClose(Throwable): void
- fill(ByteBuffer): int
- flush(ByteBuffer[]): boolean
- getChannel(): ByteChannel
- getTransport(): Object
- needsFillInterest(): void
- onIncompleteFlush(): void
- onSelected(): Runnable
- updateKey(): void
- changeInterests(int): void
- toEndPointString(): String
- ClientConnectionFactory
-
ClientConnector
- CLIENT_CONNECTOR_CONTEXT_KEY: String
- REMOTE_SOCKET_ADDRESS_CONTEXT_KEY: String
- CLIENT_CONNECTION_FACTORY_CONTEXT_KEY: String
- CONNECTION_PROMISE_CONTEXT_KEY: String
- LOG: Logger
- executor: Executor
- scheduler: Scheduler
- byteBufferPool: ByteBufferPool
- sslContextFactory: Client
- selectorManager: SelectorManager
- selectors: int
- connectBlocking: boolean
- connectTimeout: Duration
- idleTimeout: Duration
- bindAddress: SocketAddress
- getExecutor(): Executor
- setExecutor(Executor): void
- getScheduler(): Scheduler
- setScheduler(Scheduler): void
- getByteBufferPool(): ByteBufferPool
- setByteBufferPool(ByteBufferPool): void
- getSslContextFactory(): Client
- setSslContextFactory(Client): void
- getSelectors(): int
- setSelectors(int): void
- isConnectBlocking(): boolean
- setConnectBlocking(boolean): void
- getConnectTimeout(): Duration
- setConnectTimeout(Duration): void
- getIdleTimeout(): Duration
- setIdleTimeout(Duration): void
- getBindAddress(): SocketAddress
- setBindAddress(SocketAddress): void
- doStart(): void
- doStop(): void
- newSslContextFactory(): Client
- newSelectorManager(): SelectorManager
- connect(SocketAddress, Map<String, Object>): void
- accept(SocketChannel, Map<String, Object>): void
- safeClose(Closeable): void
- configure(SocketChannel): void
- connectFailed(Throwable, Map<String, Object>): void
- ClientSelectorManager
-
Connection
- addListener(Listener): void
- removeListener(Listener): void
- onOpen(): void
- onClose(Throwable): void
- getEndPoint(): EndPoint
- close(): void
- onIdleExpired(): boolean
- getMessagesIn(): long
- getMessagesOut(): long
- getBytesIn(): long
- getBytesOut(): long
- getCreatedTimeStamp(): long
- UpgradeFrom
- UpgradeTo
- Listener
-
ConnectionStatistics
- _connections: CounterStatistic
- _connectionsDuration: SampleStatistic
- _rcvdBytes: LongAdder
- _bytesInStamp: AtomicLong
- _sentBytes: LongAdder
- _bytesOutStamp: AtomicLong
- _messagesIn: LongAdder
- _messagesInStamp: AtomicLong
- _messagesOut: LongAdder
- _messagesOutStamp: AtomicLong
- reset(): void
- doStart(): void
- onOpened(Connection): void
- onClosed(Connection): void
- getReceivedBytes(): long
- getReceivedBytesRate(): long
- getSentBytes(): long
- getSentBytesRate(): long
- getConnectionDurationMax(): long
- getConnectionDurationMean(): double
- getConnectionDurationStdDev(): double
- getConnectionsTotal(): long
- getConnections(): long
- getConnectionsMax(): long
- getReceivedMessages(): long
- getReceivedMessagesRate(): long
- getSentMessages(): long
- getSentMessagesRate(): long
- dump(): String
- dump(Appendable, String): void
- toString(): String
- CyclicTimeout
-
EndPoint
- isOpen(): boolean
- getLocalAddress(): InetSocketAddress
- getRemoteAddress(): InetSocketAddress
- getCreatedTimeStamp(): long
- shutdownOutput(): void
- isOutputShutdown(): boolean
- isInputShutdown(): boolean
- close(): void
- close(Throwable): void
- fill(ByteBuffer): int
- flush(ByteBuffer[]): boolean
- getTransport(): Object
- getIdleTimeout(): long
- setIdleTimeout(long): void
- fillInterested(Callback): void
- tryFillInterested(Callback): boolean
- isFillInterested(): boolean
- write(Callback, ByteBuffer[]): void
- getConnection(): Connection
- setConnection(Connection): void
- onOpen(): void
- onClose(Throwable): void
- isOptimizedForDirectBuffers(): boolean
- upgrade(Connection): void
- EofException
-
FillInterest
- LOG: Logger
- _interested: AtomicReference<Callback>
- FillInterest(): void
- register(Callback): void
- tryRegister(Callback): boolean
- fillable(): boolean
- isInterested(): boolean
- getCallbackInvocationType(): InvocationType
- onFail(Throwable): boolean
- onClose(): void
- toString(): String
- toStateString(): String
- needsFillInterest(): void
-
IdleTimeout
- _timeout: AtomicReference<Task>
- LOG: Logger
- _scheduler: Scheduler
- _idleTimeout: long
- _idleTimestamp: long
- IdleTimeout(Scheduler): void
- getScheduler(): Scheduler
- getIdleFor(): long
- getIdleTimeout(): long
- setIdleTimeout(long): void
- notIdle(): void
- idleCheck(): void
- scheduleIdleTimeout(long): void
- onOpen(): void
- activate(): void
- onClose(): void
- deactivate(): void
- checkIdleTimeout(): long
- onIdleExpired(TimeoutException): void
- isOpen(): boolean
-
LeakTrackingByteBufferPool
- LOG: Logger
- leakDetector: LeakDetector<ByteBuffer>
- NOISY: boolean
- delegate: ByteBufferPool
- leakedReleases: AtomicLong
- leakedAcquires: AtomicLong
- leaked: AtomicLong
- LeakTrackingByteBufferPool(ByteBufferPool): void
- acquire(int, boolean): ByteBuffer
- release(ByteBuffer): void
- clearTracking(): void
- getLeakedAcquires(): long
- getLeakedReleases(): long
- getLeakedResources(): long
- leaked(LeakInfo): void
-
ManagedSelector
- LOG: Logger
- FORCE_SELECT_NOW: boolean
- static class initializer
- _started: AtomicBoolean
- _selecting: boolean
- _selectorManager: SelectorManager
- _id: int
- _strategy: ExecutionStrategy
- _selector: Selector
- _updates: Deque<SelectorUpdate>
- _updateable: Deque<SelectorUpdate>
- ManagedSelector(SelectorManager, int): void
- getSelector(): Selector
- doStart(): void
- size(): int
- doStop(): void
- submit(SelectorUpdate): void
- wakeup(): void
- execute(Runnable): void
- processConnect(SelectionKey, Connect): void
- closeNoExceptions(Closeable): void
- createEndPoint(SelectableChannel, SelectionKey): void
- destroyEndPoint(EndPoint, Throwable): void
- getActionSize(): int
- safeReadyOps(SelectionKey): int
- safeInterestOps(SelectionKey): int
- dump(Appendable, String): void
- toString(): String
- Selectable
- SelectorProducer
- SelectorUpdate
- Start
- DumpKeys
- Acceptor
- Accept
- Connect
- CloseConnections
- StopSelector
- CreateEndPoint
- DestroyEndPoint
-
MappedByteBufferPool
- _directBuffers: ConcurrentMap<Integer, Bucket>
- _heapBuffers: ConcurrentMap<Integer, Bucket>
- _newBucket: Function<Integer, Bucket>
- MappedByteBufferPool(): void
- MappedByteBufferPool(int): void
- MappedByteBufferPool(int, int): void
- MappedByteBufferPool(int, int, Function<Integer, Bucket>): void
- MappedByteBufferPool(int, int, Function<Integer, Bucket>, long, long): void
- newBucket(int): Bucket
- acquire(int, boolean): ByteBuffer
- release(ByteBuffer): void
- clear(): void
- clearOldestBucket(boolean): void
- bucketFor(int): int
- getDirectByteBufferCount(): long
- getHeapByteBufferCount(): long
- getByteBufferCount(boolean): long
- bucketsFor(boolean): ConcurrentMap<Integer, Bucket>
- Tagged
-
NegotiatingClientConnection
- LOG: Logger
- engine: SSLEngine
- connectionFactory: ClientConnectionFactory
- context: Map<String, Object>
- protocol: String
- completed: boolean
- NegotiatingClientConnection(EndPoint, Executor, SSLEngine, ClientConnectionFactory, Map<String, Object>): void
- getSSLEngine(): SSLEngine
- getProtocol(): String
- completed(String): void
- onOpen(): void
- onFillable(): void
- fill(): int
- replaceConnection(): void
- close(): void
- NegotiatingClientConnectionFactory
- NetworkTrafficListener
-
NetworkTrafficSelectChannelEndPoint
- LOG: Logger
- listeners: List<NetworkTrafficListener>
- NetworkTrafficSelectChannelEndPoint(SocketChannel, ManagedSelector, SelectionKey, Scheduler, long, List<NetworkTrafficListener>): void
- fill(ByteBuffer): int
- flush(ByteBuffer[]): boolean
- onOpen(): void
- onClose(Throwable): void
- notifyIncoming(ByteBuffer, int): void
- notifyOutgoing(ByteBuffer): void
- QuietException
-
RetainableByteBuffer
- pool: ByteBufferPool
- buffer: ByteBuffer
- references: AtomicInteger
- RetainableByteBuffer(ByteBufferPool, int): void
- RetainableByteBuffer(ByteBufferPool, int, boolean): void
- getBuffer(): ByteBuffer
- getReferences(): int
- retain(): void
- release(): int
- hasRemaining(): boolean
- isEmpty(): boolean
- toString(): String
- RuntimeIOException
-
SelectorManager
- getConnectTimeout(): long
- DEFAULT_CONNECT_TIMEOUT: int
- LOG: Logger
- executor: Executor
- scheduler: Scheduler
- _selectors: ManagedSelector[]
- _selectorIndex: AtomicInteger
- _selectorIndexUpdate: IntUnaryOperator
- _acceptListeners: List<AcceptListener>
- _connectTimeout: long
- _lease: Lease
- defaultSelectors(Executor): int
- SelectorManager(Executor, Scheduler): void
- SelectorManager(Executor, Scheduler, int): void
- getExecutor(): Executor
- getScheduler(): Scheduler
- setConnectTimeout(long): void
- execute(Runnable): void
- getSelectorCount(): int
- chooseSelector(): ManagedSelector
- connect(SelectableChannel, Object): void
- accept(SelectableChannel): void
- accept(SelectableChannel, Object): void
- acceptor(SelectableChannel): Closeable
- accepted(SelectableChannel): void
- doStart(): void
- newSelector(int): ManagedSelector
- newSelector(): Selector
- doStop(): void
- endPointOpened(EndPoint): void
- endPointClosed(EndPoint): void
- connectionOpened(Connection): void
- connectionClosed(Connection, Throwable): void
- doFinishConnect(SelectableChannel): boolean
- isConnectionPending(SelectableChannel): boolean
- doAccept(SelectableChannel): SelectableChannel
- connectionFailed(SelectableChannel, Throwable, Object): void
- newEndPoint(SelectableChannel, ManagedSelector, SelectionKey): EndPoint
- newConnection(SelectableChannel, EndPoint, Object): Connection
- addEventListener(EventListener): void
- removeEventListener(EventListener): void
- addAcceptListener(AcceptListener): void
- removeAcceptListener(AcceptListener): void
- onAccepting(SelectableChannel): void
- onAcceptFailed(SelectableChannel, Throwable): void
- onAccepted(SelectableChannel): void
- AcceptListener
-
SocketChannelEndPoint
- LOG: Logger
- _socket: Socket
- _local: InetSocketAddress
- _remote: InetSocketAddress
- SocketChannelEndPoint(SelectableChannel, ManagedSelector, SelectionKey, Scheduler): void
- SocketChannelEndPoint(SocketChannel, ManagedSelector, SelectionKey, Scheduler): void
- getSocket(): Socket
- getLocalAddress(): InetSocketAddress
- getRemoteAddress(): InetSocketAddress
- doShutdownOutput(): void
-
WriteFlusher
- IdleState
- LOG: Logger
- DEBUG: boolean
- EMPTY_BUFFERS: ByteBuffer[]
- __stateTransitions: EnumMap<StateType, Set<StateType>>
- __IDLE: State
- __WRITING: State
- __COMPLETING: State
- _endPoint: EndPoint
- _state: AtomicReference<State>
- static class initializer
- WriteFlusher(EndPoint): void
- StateType
- updateState(State, State): boolean
- isTransitionAllowed(State, State): boolean
- State
- WritingState
- FailedState
- CompletingState
- PendingState
- getCallbackInvocationType(): InvocationType
- onIncompleteFlush(): void
- write(Callback, ByteBuffer[]): void
- fail(Callback, Throwable[]): void
- completeWrite(): void
- flush(ByteBuffer[]): ByteBuffer[]
- onFail(Throwable): boolean
- onClose(): void
- isFailed(): boolean
- isIdle(): boolean
- toStateString(): String
- toString(): String
- Listener
- WriterOutputStream
-
ssl
- ALPNProcessor
-
SslClientConnectionFactory
- SSL_ENGINE_CONTEXT_KEY: String
- sslContextFactory: SslContextFactory
- byteBufferPool: ByteBufferPool
- executor: Executor
- connectionFactory: ClientConnectionFactory
- _directBuffersForEncryption: boolean
- _directBuffersForDecryption: boolean
- allowMissingCloseMessage: boolean
- SslClientConnectionFactory(SslContextFactory, ByteBufferPool, Executor, ClientConnectionFactory): void
- setDirectBuffersForEncryption(boolean): void
- setDirectBuffersForDecryption(boolean): void
- isDirectBuffersForDecryption(): boolean
- isDirectBuffersForEncryption(): boolean
- isAllowMissingCloseMessage(): boolean
- setAllowMissingCloseMessage(boolean): void
- newConnection(EndPoint, Map<String, Object>): Connection
- newSslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine): SslConnection
- customize(Connection, Map<String, Object>): Connection
- HTTPSHandshakeListener
-
SslConnection
- FillState
- LOG: Logger
- TLS_1_3: String
- Handshake
- FlushState
- handshakeListeners: List<SslHandshakeListener>
- _bufferPool: ByteBufferPool
- _sslEngine: SSLEngine
- _decryptedEndPoint: DecryptedEndPoint
- _decryptedInput: ByteBuffer
- _encryptedInput: ByteBuffer
- _encryptedOutput: ByteBuffer
- _encryptedDirectBuffers: boolean
- _decryptedDirectBuffers: boolean
- _renegotiationAllowed: boolean
- _renegotiationLimit: int
- _closedOutbound: boolean
- _allowMissingCloseMessage: boolean
- _flushState: FlushState
- _fillState: FillState
- _handshake: AtomicReference<Handshake>
- _underflown: boolean
- RunnableTask
- _runFillable: Runnable
- _sslReadCallback: Callback
- SslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine): void
- SslConnection(ByteBufferPool, Executor, EndPoint, SSLEngine, boolean, boolean): void
- addHandshakeListener(SslHandshakeListener): void
- removeHandshakeListener(SslHandshakeListener): boolean
- newDecryptedEndPoint(): DecryptedEndPoint
- getSSLEngine(): SSLEngine
- getDecryptedEndPoint(): DecryptedEndPoint
- isRenegotiationAllowed(): boolean
- setRenegotiationAllowed(boolean): void
- getRenegotiationLimit(): int
- setRenegotiationLimit(int): void
- isAllowMissingCloseMessage(): boolean
- setAllowMissingCloseMessage(boolean): void
- acquireEncryptedInput(): void
- onUpgradeTo(ByteBuffer): void
- onOpen(): void
- onClose(Throwable): void
- close(): void
- onIdleExpired(): boolean
- onFillable(): void
- onFillInterestedFailed(Throwable): void
- toConnectionString(): String
- releaseEncryptedOutputBuffer(): void
-
DecryptedEndPoint
- _incompleteWriteCallback: Callback
- DecryptedEndPoint(): void
- getIdleTimeout(): long
- setIdleTimeout(long): void
- isOpen(): boolean
- getLocalAddress(): InetSocketAddress
- getRemoteAddress(): InetSocketAddress
- getWriteFlusher(): WriteFlusher
- onFillable(): void
- onFillableFail(Throwable): void
- setConnection(Connection): void
- getSslConnection(): SslConnection
- fill(ByteBuffer): int
- needsFillInterest(): void
- handshakeSucceeded(): void
- handshakeFailed(Throwable): void
- terminateInput(): void
- closeInbound(): void
- flush(ByteBuffer[]): boolean
- onIncompleteFlush(): void
- doShutdownOutput(): void
- closeOutbound(): void
- ensureFillInterested(): void
- isOutputShutdown(): boolean
- isOutboundDone(): boolean
- doClose(): void
- getTransport(): Object
- isInputShutdown(): boolean
- isInboundDone(): boolean
- notifyHandshakeSucceeded(SSLEngine): void
- notifyHandshakeFailed(SSLEngine, Throwable): void
- isRenegotiating(): boolean
- allowRenegotiate(): boolean
- isTLS13(): boolean
- toString(): String
- IncompleteWriteCallback
- SslHandshakeListener
-
AbstractByteBufferPool
-
io
-
jetty
-
eclipse