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 voidapply(com.solacesystems.jms.SolConnectionFactory cf)java.lang.IntegergetConnectRetries()This property is used to specify the number of times to retry data connection attempts.java.lang.IntegergetConnectRetriesPerHost()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.IntegergetConnectTimeoutInMillis()This property is used to specify the timeout in milliseconds on a data connection attempt.java.lang.IntegergetReadTimeoutInMillis()This property is used to specify the timeout in milliseconds for reading a reply from the appliance.java.lang.IntegergetReconnectRetries()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.IntegergetReconnectRetryWaitInMillis()This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.java.lang.BooleangetTcpNoDelay()This property is used to specify whether to set the TCP_NODELAY option.voidsetConnectRetries(java.lang.Integer connectRetries)This property is used to specify the number of times to retry data connection attempts.voidsetConnectRetriesPerHost(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.voidsetConnectTimeoutInMillis(java.lang.Integer connectTimeoutInMillis)This property is used to specify the timeout in milliseconds on a data connection attempt.voidsetReadTimeoutInMillis(java.lang.Integer readTimeoutInMillis)This property is used to specify the timeout in milliseconds for reading a reply from the appliance.voidsetReconnectRetries(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.voidsetReconnectRetryWaitInMillis(java.lang.Integer reconnectRetryWaitInMillis)This property is used to specify the amount of time to wait in milliseconds between reconnect attempts.voidsetTcpNoDelay(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.
-
-