Class Keepalive

  • All Implemented Interfaces:
    Parameter

    public class Keepalive
    extends java.lang.Object
    implements Parameter
    • Constructor Summary

      Constructors 
      Constructor Description
      Keepalive()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(com.solacesystems.jms.SolConnectionFactory cf)  
      java.lang.Integer getKeepAliveCountMax()
      This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
      java.lang.Integer getKeepAliveIntervalInMillis()
      This property is used to specify the interval between keep alives in milliseconds.
      java.lang.Boolean getKeepAlives()
      This property is used to enable/disable keep alives.
      void setKeepAliveCountMax​(java.lang.Integer keepAliveCountMax)
      This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
      void setKeepAliveIntervalInMillis​(java.lang.Integer keepAliveIntervalInMillis)
      This property is used to specify the interval between keep alives in milliseconds.
      void setKeepAlives​(java.lang.Boolean keepAlives)
      This property is used to enable/disable keep alives.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Keepalive

        public Keepalive()
    • Method Detail

      • apply

        public void apply​(com.solacesystems.jms.SolConnectionFactory cf)
        Specified by:
        apply in interface Parameter
      • getKeepAlives

        public java.lang.Boolean getKeepAlives()
        This property is used to enable/disable keep alives.
      • setKeepAlives

        public void setKeepAlives​(java.lang.Boolean keepAlives)
        This property is used to enable/disable keep alives.
      • getKeepAliveCountMax

        public java.lang.Integer getKeepAliveCountMax()
        This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
      • setKeepAliveCountMax

        public void setKeepAliveCountMax​(java.lang.Integer keepAliveCountMax)
        This property is used to specify the allowed number of consecutive keep-alive messages for which no response is received before the connection is closed by the API.
      • getKeepAliveIntervalInMillis

        public java.lang.Integer getKeepAliveIntervalInMillis()
        This property is used to specify the interval between keep alives in milliseconds.
      • setKeepAliveIntervalInMillis

        public void setKeepAliveIntervalInMillis​(java.lang.Integer keepAliveIntervalInMillis)
        This property is used to specify the interval between keep alives in milliseconds.