public abstract class AbstractPoolClient extends AbstractClient
| 限定符和类型 | 字段和说明 |
|---|---|
protected static long |
defaultMinEvictableIdleTimeMillis |
protected static long |
defaultSoftMinEvictableIdleTimeMillis |
protected static long |
defaultTimeBetweenEvictionRunsMillis |
protected org.apache.commons.pool.PoolableObjectFactory |
factory |
protected org.apache.commons.pool.impl.GenericObjectPool |
pool |
protected org.apache.commons.pool.impl.GenericObjectPool.Config |
poolConfig |
codec, localAddress, remoteAddress, state, url| 构造器和说明 |
|---|
AbstractPoolClient(URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Channel |
borrowObject() |
protected abstract org.apache.commons.pool.BasePoolableObjectFactory |
createChannelFactory() |
protected void |
initPool() |
protected void |
invalidateObject(Channel nettyChannel) |
protected void |
returnObject(Channel channel) |
getLocalAddress, getRemoteAddress, heartbeat, setLocalAddress, setRemoteAddressprotected static long defaultMinEvictableIdleTimeMillis
protected static long defaultSoftMinEvictableIdleTimeMillis
protected static long defaultTimeBetweenEvictionRunsMillis
protected org.apache.commons.pool.impl.GenericObjectPool pool
protected org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig
protected org.apache.commons.pool.PoolableObjectFactory factory
public AbstractPoolClient(URL url)
Copyright © 2016. All rights reserved.