public class ConnectionParams extends Object
Constructor and Description |
---|
ConnectionParams() |
public String getUsername()
public String getPassword()
public ExecutorService getConsumerWorkServiceExecutor()
public String getVirtualHost()
public int getRequestedFrameMax()
public int getRequestedChannelMax()
public int getRequestedHeartbeat()
public int getHandshakeTimeout()
public void setHandshakeTimeout(int timeout)
public int getShutdownTimeout()
public SaslConfig getSaslConfig()
public ExceptionHandler getExceptionHandler()
public long getNetworkRecoveryInterval()
public RecoveryDelayHandler getRecoveryDelayHandler()
RecoveryDelayHandler.DefaultRecoveryDelayHandler
will be returned with a delay of getNetworkRecoveryInterval()
.public boolean isTopologyRecoveryEnabled()
public ThreadFactory getThreadFactory()
public int getChannelRpcTimeout()
public boolean channelShouldCheckRpcResponseType()
public void setUsername(String username)
public void setPassword(String password)
public void setConsumerWorkServiceExecutor(ExecutorService consumerWorkServiceExecutor)
public void setVirtualHost(String virtualHost)
public void setRequestedFrameMax(int requestedFrameMax)
public void setRequestedChannelMax(int requestedChannelMax)
public void setRequestedHeartbeat(int requestedHeartbeat)
public void setShutdownTimeout(int shutdownTimeout)
public void setSaslConfig(SaslConfig saslConfig)
public void setNetworkRecoveryInterval(long networkRecoveryInterval)
public void setRecoveryDelayHandler(RecoveryDelayHandler recoveryDelayHandler)
public void setTopologyRecovery(boolean topologyRecovery)
public void setExceptionHandler(ExceptionHandler exceptionHandler)
public void setThreadFactory(ThreadFactory threadFactory)
public ExecutorService getShutdownExecutor()
public void setShutdownExecutor(ExecutorService shutdownExecutor)
public ScheduledExecutorService getHeartbeatExecutor()
public void setHeartbeatExecutor(ScheduledExecutorService heartbeatExecutor)
public void setChannelRpcTimeout(int channelRpcTimeout)
public void setChannelShouldCheckRpcResponseType(boolean channelShouldCheckRpcResponseType)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.