| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| com.linecorp.armeria.client.logging |
Logging client decorators.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionPoolListenerAdapter
A skeletal
ConnectionPoolListener implementation in order for a user to implement only the methods
what he or she really needs. |
class |
ConnectionPoolListenerWrapper
A
ConnectionPoolListener that wraps an existing ConnectionPoolListener. |
| Modifier and Type | Field and Description |
|---|---|
static ClientFactoryOption<ConnectionPoolListener> |
ClientFactoryOption.CONNECTION_POOL_LISTENER
The listener which is notified on a connection pool event.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends ConnectionPoolListener> |
ConnectionPoolListenerWrapper.delegate()
Returns the
ConnectionPoolListener this handler decorates. |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPoolListener |
ClientFactoryOptions.connectionPoolListener()
Returns the listener which is notified on a connection pool event.
|
static ConnectionPoolListener |
ConnectionPoolListener.noop()
Returns an instance that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
ClientFactoryBuilder |
ClientFactoryBuilder.connectionPoolListener(ConnectionPoolListener connectionPoolListener)
Sets the listener which is notified on a connection pool event.
|
| Constructor and Description |
|---|
ConnectionPoolListenerWrapper(ConnectionPoolListener delegate)
Creates a new instance with the specified
delegate. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionPoolLoggingListener
Decorates a
ConnectionPoolListener to log the connection pool events. |
Copyright © 2020 LeanCloud. All rights reserved.