public class NioRpcClientPoolConfig
extends org.apache.commons.pool2.impl.GenericObjectPoolConfig
DEFAULT_MAX_IDLE, DEFAULT_MAX_TOTAL, DEFAULT_MIN_IDLEDEFAULT_BLOCK_WHEN_EXHAUSTED, DEFAULT_EVICTION_POLICY_CLASS_NAME, DEFAULT_EVICTOR_SHUTDOWN_TIMEOUT_MILLIS, DEFAULT_FAIRNESS, DEFAULT_JMX_ENABLE, DEFAULT_JMX_NAME_BASE, DEFAULT_JMX_NAME_PREFIX, DEFAULT_LIFO, DEFAULT_MAX_WAIT_MILLIS, DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_NUM_TESTS_PER_EVICTION_RUN, DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS, DEFAULT_TEST_ON_BORROW, DEFAULT_TEST_ON_CREATE, DEFAULT_TEST_ON_RETURN, DEFAULT_TEST_WHILE_IDLE, DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS| 构造器和说明 |
|---|
NioRpcClientPoolConfig(io.netty.channel.ChannelFactory channelFactory,
String address,
int port,
long timeout,
String token,
String connectionId,
String clientPublicKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAddress() |
io.netty.channel.ChannelFactory |
getChannelFactory() |
String |
getClientPublicKey() |
String |
getConnectionId() |
int |
getPort() |
long |
getTimeout() |
String |
getToken() |
void |
setConnectionId(String connectionId) |
clone, getMaxIdle, getMaxTotal, getMinIdle, setMaxIdle, setMaxTotal, setMinIdle, toStringAppendFieldsgetBlockWhenExhausted, getEvictionPolicy, getEvictionPolicyClassName, getEvictorShutdownTimeoutMillis, getFairness, getJmxEnabled, getJmxNameBase, getJmxNamePrefix, getLifo, getMaxWaitMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getSoftMinEvictableIdleTimeMillis, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, setBlockWhenExhausted, setEvictionPolicy, setEvictionPolicyClassName, setEvictorShutdownTimeoutMillis, setFairness, setJmxEnabled, setJmxNameBase, setJmxNamePrefix, setLifo, setMaxWaitMillis, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdleTimeMillis, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillispublic io.netty.channel.ChannelFactory getChannelFactory()
public String getClientPublicKey()
public String getAddress()
public String getToken()
public int getPort()
public long getTimeout()
public String getConnectionId()
public void setConnectionId(String connectionId)
Copyright © 2020. All Rights Reserved.