Class ConnectionTuning
- java.lang.Object
-
- com.adaptris.core.jms.solace.parameters.ConnectionTuning
-
-
Constructor Summary
Constructors Constructor Description ConnectionTuning()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(com.solacesystems.jms.SolConnectionFactory cf)
java.lang.Integer
getConnectRetries()
This property is used to specify the number of times to retry data connection attempts.java.lang.Integer
getConnectRetriesPerHost()
This property is used to specify the number of times to retry data connection attempts to a single host before moving on to the next host in the list.java.lang.Integer
getConnectTimeoutInMillis()
This property is used to specify the timeout in milliseconds on a data connection attempt.java.lang.Integer
getReadTimeoutInMillis()
This property is used to specify the timeout in milliseconds for reading a reply from the appliance.java.lang.Integer
getReconnectRetries()
This property is used to specify the number of times to attempt a reconnect once the data connection to the appliance has been lost.java.lang.Integer
getReconnectRetryWaitInMillis()
This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.java.lang.Boolean
getTcpNoDelay()
This property is used to specify whether to set the TCP_NODELAY option.void
setConnectRetries(java.lang.Integer connectRetries)
This property is used to specify the number of times to retry data connection attempts.void
setConnectRetriesPerHost(java.lang.Integer connectRetriesPerHost)
This property is used to specify the number of times to retry data connection attempts to a single host before moving on to the next host in the list.void
setConnectTimeoutInMillis(java.lang.Integer connectTimeoutInMillis)
This property is used to specify the timeout in milliseconds on a data connection attempt.void
setReadTimeoutInMillis(java.lang.Integer readTimeoutInMillis)
This property is used to specify the timeout in milliseconds for reading a reply from the appliance.void
setReconnectRetries(java.lang.Integer reconnectRetries)
This property is used to specify the number of times to attempt a reconnect once the data connection to the appliance has been lost.void
setReconnectRetryWaitInMillis(java.lang.Integer reconnectRetryWaitInMillis)
This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.void
setTcpNoDelay(java.lang.Boolean tcpNoDelay)
This property is used to specify whether to set the TCP_NODELAY option.
-
-
-
Method Detail
-
apply
public void apply(com.solacesystems.jms.SolConnectionFactory cf)
-
getConnectRetries
public java.lang.Integer getConnectRetries()
This property is used to specify the number of times to retry data connection attempts.
-
setConnectRetries
public void setConnectRetries(java.lang.Integer connectRetries)
This property is used to specify the number of times to retry data connection attempts.
-
getConnectRetriesPerHost
public java.lang.Integer getConnectRetriesPerHost()
This property is used to specify the number of times to retry data connection attempts to a single host before moving on to the next host in the list.
-
setConnectRetriesPerHost
public void setConnectRetriesPerHost(java.lang.Integer connectRetriesPerHost)
This property is used to specify the number of times to retry data connection attempts to a single host before moving on to the next host in the list.
-
getConnectTimeoutInMillis
public java.lang.Integer getConnectTimeoutInMillis()
This property is used to specify the timeout in milliseconds on a data connection attempt.
-
setConnectTimeoutInMillis
public void setConnectTimeoutInMillis(java.lang.Integer connectTimeoutInMillis)
This property is used to specify the timeout in milliseconds on a data connection attempt.
-
getReadTimeoutInMillis
public java.lang.Integer getReadTimeoutInMillis()
This property is used to specify the timeout in milliseconds for reading a reply from the appliance.
-
setReadTimeoutInMillis
public void setReadTimeoutInMillis(java.lang.Integer readTimeoutInMillis)
This property is used to specify the timeout in milliseconds for reading a reply from the appliance.
-
getReconnectRetries
public java.lang.Integer getReconnectRetries()
This property is used to specify the number of times to attempt a reconnect once the data connection to the appliance has been lost.
-
setReconnectRetries
public void setReconnectRetries(java.lang.Integer reconnectRetries)
This property is used to specify the number of times to attempt a reconnect once the data connection to the appliance has been lost.
-
getReconnectRetryWaitInMillis
public java.lang.Integer getReconnectRetryWaitInMillis()
This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.
-
setReconnectRetryWaitInMillis
public void setReconnectRetryWaitInMillis(java.lang.Integer reconnectRetryWaitInMillis)
This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.
-
getTcpNoDelay
public java.lang.Boolean getTcpNoDelay()
This property is used to specify whether to set the TCP_NODELAY option.
-
setTcpNoDelay
public void setTcpNoDelay(java.lang.Boolean tcpNoDelay)
This property is used to specify whether to set the TCP_NODELAY option.
-
-